@nimpl/getters
v2.0.0
Published
Implementation of server getters in React Server Components without switching to SSR in next.js
Downloads
4,391
Maintainers
Readme
@nimpl/getters
(Former next-impl-getters)
Implementation of server getters in React Server Components without switching to SSR in Next.js
Before using the library, read the Possible Issues
Visit https://nimpl.tech/docs/getters to view the full documentation.
Use @nimpl/getters 2.x
for Next.js v15. For earlier versions of Next.js use @nimpl/getters 1.x
.
Installation
Using npm:
npm i @nimpl/getters
Using yarn:
yarn add @nimpl/getters
Current Getters
create-server-context
andget-server-context
were moved to a separate package - @nimpl/context
Stability
All getters 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
.
Additional
Please consider giving a star if you like it, it will help promote the implementation in the eyes of the Next.js team. This also motivates the author to continue working on this and other solutions ❤️
Create issues for identified problems, desired getters, or various improvements.