https://github.com/vordgi/nimpl-context
Implementation of server contexts in React Server Components without switching to SSR
https://github.com/vordgi/nimpl-context
nextjs react react19 servercomponent
Last synced: 9 months ago
JSON representation
Implementation of server contexts in React Server Components without switching to SSR
- Host: GitHub
- URL: https://github.com/vordgi/nimpl-context
- Owner: vordgi
- License: mit
- Created: 2024-05-12T13:15:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-03T08:24:02.000Z (11 months ago)
- Last Synced: 2025-03-29T02:41:37.307Z (10 months ago)
- Topics: nextjs, react, react19, servercomponent
- Language: TypeScript
- Homepage: https://nimpl.tech/docs/context
- Size: 71.3 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @nimpl/context
Implementation of server contexts in React Server Components without switching to SSR
Before using the library, read the [Possible Issues](https://nimpl.dev/docs/context#possible-issues)
Visit https://nimpl.dev/docs/context to view the full documentation.
## Installation
**Using npm:**
```bash
npm i @nimpl/context
```
**Using yarn:**
```bash
yarn add @nimpl/context
```
## Stability
All context are covered with tests. Tests are run on every release and every 6 hours on the latest **Canary** version of `Next.js`.
In this way, you can be sure not only of the stability of the code, but also that if there is a breaking change in `Next.js`, this will immediately become known. _Even before the release of a stable version of `Next.js`._
## Examples
You can see examples in the [directory](https://github.com/vordgi/nimpl-context/tree/main/examples) of the repository.
## Additional
Please consider giving a star if you like it, it shows that the package is useful and helps continue work on this and other packages.
Create issues for identified issues, desired getters, or various improvements.
## License
[MIT](https://github.com/vordgi/nimpl-context/blob/main/LICENSE)