vordgi / nimpl-getters

Implementation of server getters in React Server Components without switching to SSR

Home Page:https://nimpl.tech/getters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@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/getters to view the full documentation.

Installation

Using npm:

npm i @nimpl/getters

Using yarn:

yarn add @nimpl/getters

Current Getters

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.

Create tasks for identified issues, desired getters, or various improvements.

About

Implementation of server getters in React Server Components without switching to SSR

https://nimpl.tech/getters

License:MIT License


Languages

Language:TypeScript 97.9%Language:JavaScript 2.1%