@tanstack/solid-start-client 2.0.0-alpha.2 → 2.0.0-alpha.3
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/esm/StartClient.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { createComponent } from "@solidjs/web";
|
|
2
2
|
import { RouterProvider } from "@tanstack/solid-router";
|
|
3
|
+
//#region src/StartClient.tsx
|
|
3
4
|
function StartClient(props) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
});
|
|
5
|
+
return createComponent(RouterProvider, { get router() {
|
|
6
|
+
return props.router;
|
|
7
|
+
} });
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=StartClient.js.map
|
|
9
|
+
//#endregion
|
|
10
|
+
export { StartClient };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=StartClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartClient.js","sources":["../../src/StartClient.tsx"],"sourcesContent":["import { RouterProvider } from '@tanstack/solid-router'\nimport type { AnyRouter } from '@tanstack/router-core'\n\nexport function StartClient(props: { router: AnyRouter }) {\n return <RouterProvider router={props.router} />\n}\n"],"
|
|
1
|
+
{"version":3,"file":"StartClient.js","names":["RouterProvider","AnyRouter","StartClient","props","router","_$createComponent"],"sources":["../../src/StartClient.tsx"],"sourcesContent":["import { RouterProvider } from '@tanstack/solid-router'\nimport type { AnyRouter } from '@tanstack/router-core'\n\nexport function StartClient(props: { router: AnyRouter }) {\n return <RouterProvider router={props.router} />\n}\n"],"mappings":";;;AAGA,SAAgBE,YAAYC,OAA8B;AACxD,QAAAE,gBAAQL,gBAAc,EAAA,IAACI,SAAM;AAAA,SAAED,MAAMC;IAAM,CAAA"}
|
package/dist/esm/hydrateStart.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { hydrateStart
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { hydrateStart } from "@tanstack/start-client-core/client";
|
|
2
|
+
//#region src/hydrateStart.ts
|
|
3
|
+
/**
|
|
4
|
+
* Solid-specific wrapper for hydrateStart that signals hydration completion
|
|
5
|
+
*/
|
|
6
|
+
async function hydrateStart$1() {
|
|
7
|
+
const router = await hydrateStart();
|
|
8
|
+
window.$_TSR?.h();
|
|
9
|
+
return router;
|
|
6
10
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=hydrateStart.js.map
|
|
11
|
+
//#endregion
|
|
12
|
+
export { hydrateStart$1 as hydrateStart };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=hydrateStart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hydrateStart.js","sources":["../../src/hydrateStart.ts"],"sourcesContent":["import { hydrateStart as coreHydrateStart } from '@tanstack/start-client-core/client'\nimport type { AnyRouter } from '@tanstack/router-core'\n\n/**\n * Solid-specific wrapper for hydrateStart that signals hydration completion\n */\nexport async function hydrateStart(): Promise<AnyRouter> {\n const router = await coreHydrateStart()\n // Signal that router hydration is complete so cleanup can happen if stream has ended\n window.$_TSR?.h()\n return router\n}\n"],"
|
|
1
|
+
{"version":3,"file":"hydrateStart.js","names":[],"sources":["../../src/hydrateStart.ts"],"sourcesContent":["import { hydrateStart as coreHydrateStart } from '@tanstack/start-client-core/client'\nimport type { AnyRouter } from '@tanstack/router-core'\n\n/**\n * Solid-specific wrapper for hydrateStart that signals hydration completion\n */\nexport async function hydrateStart(): Promise<AnyRouter> {\n const router = await coreHydrateStart()\n // Signal that router hydration is complete so cleanup can happen if stream has ended\n window.$_TSR?.h()\n return router\n}\n"],"mappings":";;;;;AAMA,eAAsB,iBAAmC;CACvD,MAAM,SAAS,MAAM,cAAkB;AAEvC,QAAO,OAAO,GAAG;AACjB,QAAO"}
|
package/dist/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/solid-start-client",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"description": "Modern and scalable routing for Solid applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"tiny-invariant": "^1.3.3",
|
|
47
47
|
"tiny-warning": "^1.0.3",
|
|
48
|
-
"@tanstack/router-core": "1.
|
|
49
|
-
"@tanstack/solid-router": "2.0.0-alpha.
|
|
50
|
-
"@tanstack/start-client-core": "1.166.
|
|
48
|
+
"@tanstack/router-core": "1.167.3",
|
|
49
|
+
"@tanstack/solid-router": "2.0.0-alpha.3",
|
|
50
|
+
"@tanstack/start-client-core": "1.166.11"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@solidjs/testing-library": "^0.8.10",
|
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|