@reckona/mreact-router 0.0.110 → 0.0.111
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/build.d.ts.map +1 -1
- package/dist/build.js +8 -4
- package/dist/build.js.map +1 -1
- package/package.json +11 -11
- package/src/build.ts +8 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reckona/mreact-router",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.111",
|
|
4
4
|
"description": "File-system app router, SSR, actions, and deployment adapters for mreact.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jsx",
|
|
@@ -105,20 +105,20 @@
|
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"typescript": "^6.0.3",
|
|
108
|
-
"@reckona/mreact": "0.0.
|
|
109
|
-
"@reckona/mreact-compat": "0.0.
|
|
110
|
-
"@reckona/mreact-
|
|
111
|
-
"@reckona/mreact-query": "0.0.
|
|
112
|
-
"@reckona/mreact-reactive-core": "0.0.
|
|
113
|
-
"@reckona/mreact-
|
|
114
|
-
"@reckona/mreact-reactive-dom": "0.0.
|
|
115
|
-
"@reckona/mreact-
|
|
116
|
-
"@reckona/mreact-
|
|
108
|
+
"@reckona/mreact": "0.0.111",
|
|
109
|
+
"@reckona/mreact-compat": "0.0.111",
|
|
110
|
+
"@reckona/mreact-devtools": "0.0.111",
|
|
111
|
+
"@reckona/mreact-query": "0.0.111",
|
|
112
|
+
"@reckona/mreact-reactive-core": "0.0.111",
|
|
113
|
+
"@reckona/mreact-compiler": "0.0.111",
|
|
114
|
+
"@reckona/mreact-reactive-dom": "0.0.111",
|
|
115
|
+
"@reckona/mreact-shared": "0.0.111",
|
|
116
|
+
"@reckona/mreact-server": "0.0.111"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
119
|
"vite": ">=8 <9"
|
|
120
120
|
},
|
|
121
121
|
"optionalDependencies": {
|
|
122
|
-
"@reckona/mreact-router-native": "0.0.
|
|
122
|
+
"@reckona/mreact-router-native": "0.0.111"
|
|
123
123
|
}
|
|
124
124
|
}
|
package/src/build.ts
CHANGED
|
@@ -2969,8 +2969,10 @@ ${shellModules.join("\n")}
|
|
|
2969
2969
|
const pageComponent = selectComponent(pageModule, ${JSON.stringify(options.filename)});
|
|
2970
2970
|
const shells = [${shellDefinitions.join(", ")}];
|
|
2971
2971
|
export const slots = pageModule.slots;
|
|
2972
|
-
export
|
|
2973
|
-
|
|
2972
|
+
export function App(props) {
|
|
2973
|
+
return renderCloudflareStringRoute(props);
|
|
2974
|
+
}
|
|
2975
|
+
export default App;
|
|
2974
2976
|
|
|
2975
2977
|
async function renderCloudflareStringRoute(props) {
|
|
2976
2978
|
const slotHtml = await renderRouteSlots(pageModule.slots, props);
|
|
@@ -3140,8 +3142,10 @@ ${shellImports.join("\n")}
|
|
|
3140
3142
|
const pageComponent = selectComponent(pageModule, ${JSON.stringify(options.filename)});
|
|
3141
3143
|
const shells = [${shellDefinitions.join(", ")}];
|
|
3142
3144
|
export const slots = pageModule.slots;
|
|
3143
|
-
export
|
|
3144
|
-
|
|
3145
|
+
export function App(props) {
|
|
3146
|
+
return renderCloudflareStringRoute(props);
|
|
3147
|
+
}
|
|
3148
|
+
export default App;
|
|
3145
3149
|
|
|
3146
3150
|
async function renderCloudflareStringRoute(props) {
|
|
3147
3151
|
const slotHtml = await renderRouteSlots(pageModule.slots, props);
|