Skip to content

Commit

Permalink
Merge pull request #153 from vikejs/phonzammi/dev
Browse files Browse the repository at this point in the history
docs: minor
  • Loading branch information
phonzammi authored Nov 19, 2024
2 parents 7a20055 + 77196fc commit b9f9b4d
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 27 deletions.
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
[Vike extensions](https://vike.dev/extensions) for [React](https://react.dev).

- `vike-react` (React integration)
- Docs: [vike.dev/vike-react](https://vike.dev/vike-react)
- Version history: [CHANGELOG.md](packages/vike-react/CHANGELOG.md)
- Source code: [packages/vike-react/](packages/vike-react)
- `vike-react-query` ([TanStack Query](https://tanstack.com/query) integration)
- Docs: [README.md](packages/vike-react-query#readme)
- Version history: [CHANGELOG.md](packages/vike-react-query/CHANGELOG.md)
- Source code: [packages/vike-react-query/](packages/vike-react-query)
- `vike-react-apollo` ([Apollo GraphQL](https://www.apollographql.com/docs/react) integration)
- Docs: [README.md](packages/vike-react-apollo#readme)
- Version history: [CHANGELOG.md](packages/vike-react-apollo/CHANGELOG.md)
- Source code: [packages/vike-react-apollo/](packages/vike-react-apollo)

> [!NOTE]
> The source code is [small, simple, and highly polished](https://vike.dev/vike-react#under-the-hood). Contributing is easy and welcome, see [CONTRIBUTING.md](CONTRIBUTING.md) to get started.
Source code of following Vike React extensions: [Vike Docs > Extensions > React](https://vike.dev/extensions#react).
See [packages/](packages/).
12 changes: 9 additions & 3 deletions packages/vike-react-apollo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@

# `vike-react-apollo`

Enables your React components to fetch data using [Apollo GraphQL](https://www.apollographql.com/docs/react/).
Enables your React components to fetch data using [Apollo GraphQL](https://www.apollographql.com). Powered by [HTML streaming](https://github.com/brillout/react-streaming#readme).

> [!NOTE]
> You also get [progressive rendering](https://vike.dev/streaming#progressive-rendering), fallback upon loading and/or error, and [caching](https://www.apollographql.com/docs/react/caching/cache-configuration).
> Includes:
> - [Progressive rendering](https://vike.dev/streaming#progressive-rendering)
> - [SSR benefits](https://github.com/brillout/react-streaming#ssr)
> - Fallback upon loading and/or error
> - [Caching](https://www.apollographql.com/docs/react/caching/cache-configuration).
[Installation](#installation)
[Basic usage](#basic-usage)
[`withFallback()`](#withfallback)
[`<head>` tags](#head-tags)
[Error Handling](#error-handling)
[How it works](#how-it-works)
[Version history](https://github.com/vikejs/vike-react/blob/main/packages/vike-react-apollo/CHANGELOG.md)
[See also](#see-also)

<br/>
Expand Down Expand Up @@ -272,7 +277,8 @@ Upon page navigation (and rendering the first page if [SSR is disabled](https://
## See also

- [Example](https://github.com/vikejs/vike-react/tree/main/examples/apollo)
- [Vike > Data Fetching](https://vike.dev/data-fetching)
- [Vike Docs > Apollo GraphQL](https://vike.dev/apollo-graphql)
- [Vike Docs > Data Fetching](https://vike.dev/data-fetching)
- [Apollo GraphQL > useSuspenseQuery](https://www.apollographql.com/docs/react/api/react/hooks/#usesuspensequery)
- [Apollo GraphQL > Suspense](https://www.apollographql.com/docs/react/data/suspense/)
- [React > `<Suspense>`](https://react.dev/reference/react/Suspense)
2 changes: 1 addition & 1 deletion packages/vike-react-chakra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Features

* add vike-react-chakra ([#151](https://github.com/vikejs/vike-react/issues/151)) ([0850332](https://github.com/vikejs/vike-react/pull/151/commits/0850332bcc570145b6d548fe1add73427788b0bd))
* new extension vike-react-chakra ([#151](https://github.com/vikejs/vike-react/issues/151)) ([0850332](https://github.com/vikejs/vike-react/pull/151/commits/0850332bcc570145b6d548fe1add73427788b0bd))



9 changes: 8 additions & 1 deletion packages/vike-react-chakra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[Installation](#installation)
[Settings](#settings)
[Version history](https://github.com/vikejs/vike-react/blob/main/packages/vike-react-chakra/CHANGELOG.md)
[See Also](#see-also)

<br/>

Expand Down Expand Up @@ -42,7 +44,6 @@

<br/>


## Settings

`vike-react-chakra` provides a configuration `+chakra` for setting the theme system and locale.
Expand Down Expand Up @@ -76,3 +77,9 @@ You can remove Chakra from [some of your pages](https://vike.dev/config#inherita
export const chakra = null
```

<br/>

## See also

- [Vike Docs > Chakra UI](https://vike.dev/chakra)
8 changes: 5 additions & 3 deletions packages/vike-react-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

# `vike-react-query`

Enables your React components to fetch data using [TanStack Query](https://tanstack.com/query/latest).
Enables your React components to fetch data using [TanStack Query](https://tanstack.com/query/latest). Powered by [HTML streaming](https://github.com/brillout/react-streaming#readme).

> [!NOTE]
> Including:
> Includes:
> - [Progressive rendering](https://vike.dev/streaming#progressive-rendering)
> - [SSR benefits](https://github.com/brillout/react-streaming#ssr)
> - Fallback upon loading and/or error
Expand All @@ -22,6 +22,7 @@ Enables your React components to fetch data using [TanStack Query](https://tanst
[Settings](#settings)
[Usage with Telefunc](#usage-with-telefunc)
[How it works](#how-it-works)
[Version history](https://github.com/vikejs/vike-react/blob/main/packages/vike-react-query/CHANGELOG.md)
[See also](#see-also)

<br/>
Expand Down Expand Up @@ -437,5 +438,6 @@ Upon page navigation (and rendering the first page if [SSR is disabled](https://
## See also

- [Example](https://github.com/vikejs/vike-react/tree/main/examples/react-query)
- [Vike Docs > TanStack Query](https://vike.dev/tanstack-query)
- [TanStack Query > useSuspenseQuery](https://tanstack.com/query/latest/docs/framework/react/reference/useSuspenseQuery)
- [Vike > Data Fetching](https://vike.dev/data-fetching)
- [Vike Docs > Data Fetching](https://vike.dev/data-fetching)
3 changes: 1 addition & 2 deletions packages/vike-react/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Docs: [vike.dev/vike-react](https://vike.dev/vike-react)
Source code: [GitHub > vikejs/vike-react](https://github.com/vikejs/vike-react)
See [Vike Docs > vike-react](https://vike.dev/vike-react).

0 comments on commit b9f9b4d

Please sign in to comment.