@tanstack/react-router 0.0.1-beta.206 → 0.0.1-beta.207
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/build/cjs/RouterProvider.js +49 -47
- package/build/cjs/RouterProvider.js.map +1 -1
- package/build/cjs/react.js +2 -1
- package/build/cjs/react.js.map +1 -1
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +51 -48
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +167 -167
- package/build/types/router.d.ts +3 -0
- package/build/umd/index.development.js +51 -48
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/RouterProvider.tsx +58 -61
- package/src/react.tsx +2 -1
- package/src/router.ts +2 -0
package/build/stats-html.html
CHANGED
|
@@ -4024,7 +4024,7 @@ var drawChart = (function (exports) {
|
|
|
4024
4024
|
</script>
|
|
4025
4025
|
<script>
|
|
4026
4026
|
/*<!--*/
|
|
4027
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"history/build/esm/index.js","uid":"
|
|
4027
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"history/build/esm/index.js","uid":"2b0b-5"},{"name":"react-router/src","children":[{"uid":"2b0b-11","name":"utils.ts"},{"uid":"2b0b-13","name":"path.ts"},{"uid":"2b0b-15","name":"qss.ts"},{"uid":"2b0b-19","name":"searchParams.ts"},{"uid":"2b0b-21","name":"router.ts"},{"uid":"2b0b-23","name":"redirects.ts"},{"uid":"2b0b-25","name":"RouterProvider.tsx"},{"uid":"2b0b-27","name":"react.tsx"},{"uid":"2b0b-29","name":"route.ts"},{"uid":"2b0b-31","name":"fileRoute.ts"},{"uid":"2b0b-33","name":"index.tsx"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"2b0b-7"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"2b0b-9"}]},{"uid":"2b0b-17","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"2b0b-5":{"renderedLength":9130,"gzipLength":2727,"brotliLength":0,"mainUid":"2b0b-4"},"2b0b-7":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"2b0b-6"},"2b0b-9":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"2b0b-8"},"2b0b-11":{"renderedLength":4036,"gzipLength":1408,"brotliLength":0,"mainUid":"2b0b-10"},"2b0b-13":{"renderedLength":5666,"gzipLength":1414,"brotliLength":0,"mainUid":"2b0b-12"},"2b0b-15":{"renderedLength":1281,"gzipLength":547,"brotliLength":0,"mainUid":"2b0b-14"},"2b0b-17":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"2b0b-16"},"2b0b-19":{"renderedLength":1706,"gzipLength":575,"brotliLength":0,"mainUid":"2b0b-18"},"2b0b-21":{"renderedLength":5373,"gzipLength":1755,"brotliLength":0,"mainUid":"2b0b-20"},"2b0b-23":{"renderedLength":172,"gzipLength":132,"brotliLength":0,"mainUid":"2b0b-22"},"2b0b-25":{"renderedLength":31061,"gzipLength":7332,"brotliLength":0,"mainUid":"2b0b-24"},"2b0b-27":{"renderedLength":15708,"gzipLength":3758,"brotliLength":0,"mainUid":"2b0b-26"},"2b0b-29":{"renderedLength":2804,"gzipLength":943,"brotliLength":0,"mainUid":"2b0b-28"},"2b0b-31":{"renderedLength":203,"gzipLength":140,"brotliLength":0,"mainUid":"2b0b-30"},"2b0b-33":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2b0b-32"}},"nodeMetas":{"2b0b-4":{"id":"/packages/history/build/esm/index.js","moduleParts":{"index.production.js":"2b0b-5"},"imported":[],"importedBy":[{"uid":"2b0b-32"}]},"2b0b-6":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"2b0b-7"},"imported":[],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-28"},{"uid":"2b0b-26"},{"uid":"2b0b-24"}]},"2b0b-8":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"2b0b-9"},"imported":[],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-26"}]},"2b0b-10":{"id":"/packages/react-router/src/utils.ts","moduleParts":{"index.production.js":"2b0b-11"},"imported":[{"uid":"2b0b-39"}],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-12"},{"uid":"2b0b-26"},{"uid":"2b0b-24"}]},"2b0b-12":{"id":"/packages/react-router/src/path.ts","moduleParts":{"index.production.js":"2b0b-13"},"imported":[{"uid":"2b0b-10"}],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-28"},{"uid":"2b0b-24"}]},"2b0b-14":{"id":"/packages/react-router/src/qss.ts","moduleParts":{"index.production.js":"2b0b-15"},"imported":[],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-18"}]},"2b0b-16":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"2b0b-17"},"imported":[],"importedBy":[{"uid":"2b0b-26"}]},"2b0b-18":{"id":"/packages/react-router/src/searchParams.ts","moduleParts":{"index.production.js":"2b0b-19"},"imported":[{"uid":"2b0b-14"}],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-20"}]},"2b0b-20":{"id":"/packages/react-router/src/router.ts","moduleParts":{"index.production.js":"2b0b-21"},"imported":[{"uid":"2b0b-18"}],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-24"}]},"2b0b-22":{"id":"/packages/react-router/src/redirects.ts","moduleParts":{"index.production.js":"2b0b-23"},"imported":[],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-24"}]},"2b0b-24":{"id":"/packages/react-router/src/RouterProvider.tsx","moduleParts":{"index.production.js":"2b0b-25"},"imported":[{"uid":"2b0b-39"},{"uid":"2b0b-20"},{"uid":"2b0b-22"},{"uid":"2b0b-10"},{"uid":"2b0b-26"},{"uid":"2b0b-12"},{"uid":"2b0b-6"},{"uid":"2b0b-32"}],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-26"}]},"2b0b-26":{"id":"/packages/react-router/src/react.tsx","moduleParts":{"index.production.js":"2b0b-27"},"imported":[{"uid":"2b0b-16"},{"uid":"2b0b-39"},{"uid":"2b0b-6"},{"uid":"2b0b-8"},{"uid":"2b0b-28"},{"uid":"2b0b-10"},{"uid":"2b0b-24"}],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-28"},{"uid":"2b0b-24"}]},"2b0b-28":{"id":"/packages/react-router/src/route.ts","moduleParts":{"index.production.js":"2b0b-29"},"imported":[{"uid":"2b0b-6"},{"uid":"2b0b-12"},{"uid":"2b0b-26"}],"importedBy":[{"uid":"2b0b-32"},{"uid":"2b0b-30"},{"uid":"2b0b-26"}]},"2b0b-30":{"id":"/packages/react-router/src/fileRoute.ts","moduleParts":{"index.production.js":"2b0b-31"},"imported":[{"uid":"2b0b-28"}],"importedBy":[{"uid":"2b0b-32"}]},"2b0b-32":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"2b0b-33"},"imported":[{"uid":"2b0b-4"},{"uid":"2b0b-6"},{"uid":"2b0b-8"},{"uid":"2b0b-34"},{"uid":"2b0b-12"},{"uid":"2b0b-14"},{"uid":"2b0b-28"},{"uid":"2b0b-30"},{"uid":"2b0b-35"},{"uid":"2b0b-20"},{"uid":"2b0b-18"},{"uid":"2b0b-10"},{"uid":"2b0b-26"},{"uid":"2b0b-36"},{"uid":"2b0b-37"},{"uid":"2b0b-22"},{"uid":"2b0b-38"},{"uid":"2b0b-24"}],"importedBy":[{"uid":"2b0b-24"}],"isEntry":true},"2b0b-34":{"id":"/packages/react-router/src/link.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b0b-32"}]},"2b0b-35":{"id":"/packages/react-router/src/routeInfo.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b0b-32"}]},"2b0b-36":{"id":"/packages/react-router/src/history.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b0b-32"}]},"2b0b-37":{"id":"/packages/react-router/src/RouteMatch.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b0b-32"}]},"2b0b-38":{"id":"/packages/react-router/src/location.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b0b-32"}]},"2b0b-39":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b0b-10"},{"uid":"2b0b-26"},{"uid":"2b0b-24"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
4028
4028
|
|
|
4029
4029
|
const run = () => {
|
|
4030
4030
|
const width = window.innerWidth;
|