@octanejs/tanstack-router 0.2.9 → 0.2.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/tanstack-router",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -65,7 +65,7 @@
65
65
  "@tanstack/react-router": "1.170.41",
66
66
  "@tsrx/react": "^0.4.5",
67
67
  "esbuild": "^0.28.1",
68
- "octane": "0.13.7",
68
+ "octane": "0.13.8",
69
69
  "react": "19.2.7",
70
70
  "react-dom": "19.2.7",
71
71
  "vitest": "^4.1.10"
@@ -1,3 +1,5 @@
1
+ 'use strong';
2
+
1
3
  // The read hooks — ports of react-router's useMatch.tsx / useParams / useSearch /
2
4
  // useLoaderData / useLoaderDeps / useRouteContext / useNavigate / useCanGoBack /
3
5
  // Matches.tsx (useMatches / useParentMatches / useChildMatches). Everything match-
@@ -1,3 +1,5 @@
1
+ 'use strong';
2
+
1
3
  // The reactive base every router hook reads through: subscribe to the router's
2
4
  // canonical snapshot store (`router.stores.__store`) and select a slice.
3
5
  import { useStore } from './useStore';
package/src/useStore.ts CHANGED
@@ -1,3 +1,5 @@
1
+ 'use strong';
2
+
1
3
  // The keystone adapter. Everything reactive in the router funnels through
2
4
  // `@tanstack/react-store`'s `useStore(atom, selector)`, which is
3
5
  // `useSyncExternalStoreWithSelector(atom.subscribe→unsubscribe, atom.get, …,