vike-react 0.5.13 → 0.6.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/dist/components/ClientOnly.js +1 -1
- package/dist/config.js +1 -0
- package/dist/index.js +1 -1
- package/package.json +6 -6
@@ -1,7 +1,7 @@
|
|
1
1
|
export { ClientOnly };
|
2
2
|
import React, { lazy, useEffect, useState, startTransition } from 'react';
|
3
3
|
function ClientOnly({ load, children, fallback, deps = [], }) {
|
4
|
-
// TODO/next-major
|
4
|
+
// TODO/next-major: remove this file/export
|
5
5
|
console.warn('[vike-react][warning] <ClientOnly> is deprecated: use clientOnly() instead https://vike.dev/clientOnly');
|
6
6
|
const [Component, setComponent] = useState(null);
|
7
7
|
useEffect(() => {
|
package/dist/config.js
CHANGED
package/dist/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
// TODO/next-major
|
1
|
+
// TODO/next-major: remove this file/export
|
2
2
|
console.warn("[vike-react][warning][deprecation] Replace `import vikeReact from 'vike-react'` with `import vikeReact from 'vike-react/config'` (typically in your /pages/+config.js)");
|
3
3
|
export { default } from './config.js';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vike-react",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.6.0",
|
4
4
|
"repository": "https://github.com/vikejs/vike-react",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -27,19 +27,19 @@
|
|
27
27
|
"./__internal/integration/Loading": "./dist/integration/Loading.js"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"react-streaming": "^0.
|
30
|
+
"react-streaming": "^0.4.2"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|
33
|
-
"react": ">=
|
34
|
-
"react-dom": ">=
|
33
|
+
"react": ">=19",
|
34
|
+
"react-dom": ">=19",
|
35
35
|
"vike": ">=0.4.182"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
38
|
"@biomejs/biome": "^1.6.4",
|
39
39
|
"@brillout/release-me": "^0.4.2",
|
40
40
|
"@types/node": "^20.11.17",
|
41
|
-
"@types/react": "^19.0.
|
42
|
-
"@types/react-dom": "^19.0.
|
41
|
+
"@types/react": "^19.0.10",
|
42
|
+
"@types/react-dom": "^19.0.4",
|
43
43
|
"react": "^19.0.0",
|
44
44
|
"react-dom": "^19.0.0",
|
45
45
|
"rimraf": "^5.0.5",
|