vike-react 0.5.10 → 0.5.12
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/types/Config.d.ts
CHANGED
@@ -2,6 +2,7 @@ import type { ImportString, PageContextServer, PageContext, PageContextClient }
|
|
2
2
|
import type { TagAttributes } from '../utils/getTagAttributesString.js';
|
3
3
|
import type { Viewport } from '../integration/onRenderHtml.js';
|
4
4
|
import type { ConfigsCumulative } from '../hooks/useConfig/configsCumulative.js';
|
5
|
+
import type React from 'react';
|
5
6
|
declare global {
|
6
7
|
namespace Vike {
|
7
8
|
interface Config {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import type React from 'react';
|
2
|
-
import type { JSX } from 'react';
|
3
2
|
import type ReactDOM from 'react-dom/client';
|
4
3
|
import type { ConfigFromHookResolved } from './Config.js';
|
5
4
|
import type { PageHtmlStream } from '../integration/onRenderHtml.js';
|
@@ -9,7 +8,7 @@ declare global {
|
|
9
8
|
/** The root React component of the page */
|
10
9
|
Page?: () => React.ReactNode;
|
11
10
|
/** The root React element of the page */
|
12
|
-
page?: JSX.Element;
|
11
|
+
page?: React.JSX.Element;
|
13
12
|
/** The React root DOM container */
|
14
13
|
root?: ReactDOM.Root;
|
15
14
|
/** The +Page.jsx component rendered to the HTML string. */
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vike-react",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.12",
|
4
4
|
"repository": "https://github.com/vikejs/vike-react",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"./__internal/integration/Loading": "./dist/integration/Loading.js"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"react-streaming": "^0.3.
|
30
|
+
"react-streaming": "^0.3.47"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|
33
33
|
"react": ">=18.0.0",
|
@@ -42,10 +42,10 @@
|
|
42
42
|
"@types/react-dom": "^18.2.19",
|
43
43
|
"react": "^18.3.1",
|
44
44
|
"react-dom": "^18.3.1",
|
45
|
-
"react-streaming": "^0.3.
|
45
|
+
"react-streaming": "^0.3.47",
|
46
46
|
"rimraf": "^5.0.5",
|
47
47
|
"typescript": "^5.5.4",
|
48
|
-
"vike": "^0.4.
|
48
|
+
"vike": "^0.4.211",
|
49
49
|
"vite": "^5.4.0"
|
50
50
|
},
|
51
51
|
"typesVersions": {
|