@nimpl/getters

2.0.0 • Public • Published

@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 and get-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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.095latest
2.0.0-canary.00canary

Version History

VersionDownloads (Last 7 Days)Published
2.0.095
2.0.0-canary.00
1.4.1738
1.4.1-canary.10
1.4.1-canary.00
1.4.033
1.4.0-canary.10
1.4.0-canary.00
1.3.40
1.3.4-canary.00
1.3.30
1.3.3-canary.00
1.3.20
1.3.2-canary.10
1.3.2-canary.00
1.3.120
1.3.00

Package Sidebar

Install

npm i @nimpl/getters

Weekly Downloads

886

Version

2.0.0

License

MIT

Unpacked Size

15.7 kB

Total Files

13

Last publish

Collaborators

  • vordgi