@nimpl/getters 2.0.0-canary.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Implementation of server getters in React Server Components without switching to SSR in Next.js
|
|
6
6
|
|
|
7
|
-
Before using the library, read the [Possible Issues](https://nimpl.tech/getters
|
|
7
|
+
Before using the library, read the [Possible Issues](https://nimpl.tech/docs/getters#possible-issues)
|
|
8
8
|
|
|
9
|
-
Visit https://nimpl.tech/getters to view the full documentation.
|
|
9
|
+
Visit https://nimpl.tech/docs/getters to view the full documentation.
|
|
10
10
|
|
|
11
11
|
Use `@nimpl/getters 2.x` for Next.js v15. For earlier versions of Next.js use `@nimpl/getters 1.x`.
|
|
12
12
|
|
|
@@ -26,12 +26,12 @@ yarn add @nimpl/getters
|
|
|
26
26
|
|
|
27
27
|
## Current Getters
|
|
28
28
|
|
|
29
|
-
- [get-pathname](https://nimpl.tech/
|
|
30
|
-
- [get-
|
|
31
|
-
- [get-
|
|
32
|
-
- [get-search-params](https://nimpl.tech/
|
|
29
|
+
- [get-pathname](https://nimpl.tech/docs/getters#get-pathname)
|
|
30
|
+
- [get-params](https://nimpl.tech/docs/getters#get-params)
|
|
31
|
+
- [get-page-config](https://nimpl.tech/docs/getters#get-page-config)
|
|
32
|
+
- [get-search-params](https://nimpl.tech/docs/getters#get-search-params) (_deprecated_)
|
|
33
33
|
|
|
34
|
-
> _`create-server-context` and `get-server-context` were moved to a separate package - [@nimpl/context](https://nimpl.tech/context)_
|
|
34
|
+
> _`create-server-context` and `get-server-context` were moved to a separate package - [@nimpl/context](https://nimpl.tech/docs/context)_
|
|
35
35
|
|
|
36
36
|
## Stability
|
|
37
37
|
|
|
@@ -41,6 +41,6 @@ In this way, you can be sure not only of the stability of the code, but also tha
|
|
|
41
41
|
|
|
42
42
|
## Additional
|
|
43
43
|
|
|
44
|
-
Please consider giving a star if you like it, it will help promote the implementation in the eyes of the Next.js team.
|
|
44
|
+
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 ❤️
|
|
45
45
|
|
|
46
|
-
Create
|
|
46
|
+
Create issues for identified problems, desired getters, or various improvements.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimpl/getters",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Implementation of server getters in React Server Components without switching to SSR in next.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"react-dom": ">= 18.2.0",
|
|
44
44
|
"next": ">= 14.0.0"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|