Implementation of server contexts in React Server Components without switching to SSR
Before using the library, read the Possible Issues
Visit https://nimpl.tech/context to view the full documentation.
Using npm:
npm i @nimpl/context
Using yarn:
yarn add @nimpl/context
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
.
You can see examples in the directory of the repository.
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.