Manuel Schiller
07190f9c25
fix(react-router): update match in effect instead of during render ( #2075 )
...
* fix(react-router): update match in effect instead of during render
fixes #2031
fixes #2053
2024-08-02 18:21:02 +02:00
Tanner Linsley
1962e7d5df
release: v1.46.2
v1.46.2
2024-08-02 05:03:43 +00:00
Sean Cassiere
af354295b1
refactor(react-router): better API surface for the useIntersectionObserver hook ( #2073 )
...
The previous interface for the useIntersectionObserver hook didn't account for the fact that the two important parts of the hook was to accept a `ref` and a `callback`. This also lets the `intersectionObserverOptions` and `options` truly be _optional_.
2024-08-02 17:02:40 +12:00
Tanner Linsley
159d81cd33
release: v1.46.1
v1.46.1
2024-08-02 00:26:22 +00:00
Tom Ballinger
19838f8959
fix(react-router-with-query): accept queryKeyHashFn from _experimental_beforeQuery and add Convex DB example ( #1988 )
...
* Add a Convex database trellaux example
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-02 12:21:47 +12:00
Sean Cassiere
84f4076cd9
chore: cleanup the old with-trpc and with-framer-motion examples ( #2068 )
...
* chore: fixup the example
* chore: rename from `wip-with-framer-motion` to `with-framer-motion`
* chore: remove the `wip-with-bling` example
* chore: remove the `wip-waku-rsc` example
* chore: fixup the `with-trpc` example
* chore: remove the `kitchen-sink-react-query` example
* Revert "chore: remove the `kitchen-sink-react-query` example"
This reverts commit 2fd8af97ad .
2024-08-01 12:09:23 +12:00
Tanner Linsley
87ece2466d
release: v1.46.0
v1.46.0
2024-07-31 22:49:11 +00:00
Sean Cassiere
84605c035c
feat(react-router): support for preload='viewport' ( #2062 )
...
* feat(react-router): expand the types to allow the preload setting of "viewport"
* feat(react-router): add the `useIntersectionObserver` and `useForwardedRef` hooks
* feat(react-router): add the configuration to use `preload='viewport'`
* chore(react-router): cleanup `console.log`
* chore(react-router): types I can be happy with
* refactor(react-router): make the `useIntersectionObserver` hook testing compatible
* test(react-router): testing for preload='viewport'
* test(react-router): move the `IntersectionObserver` mock into the utils
* docs: update the preloading guide
* docs: api reference
* chore: apply suggestions from code review
2024-08-01 10:48:06 +12:00
Rijk van Wel
cd21b290af
docs: missing comma in the Start Vinxi scripts ( #2067 )
...
* docs: fixed missing comma in Start Vinxi scripts
Also opted to change the `// ...` into a normal comment to avoid confusion.
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-01 10:43:10 +12:00
Tanner Linsley
11e39f4d3b
release: v1.45.16
v1.45.16
2024-07-31 16:06:38 +00:00
Christopher Horobin
93b148d0f9
fix(react-router): when navigating from a index it route it should resolve to a valid route ( #2066 )
2024-07-31 18:05:31 +02:00
Loyale
12c10d523a
docs: fix a grammar error in the "code-splitting" guide ( #2064 )
2024-07-31 23:10:40 +12:00
Tom Ballinger
1c1673206e
examples(start-trellaux): fix re-ordering columns ( #2061 )
2024-07-31 19:00:21 +12:00
Tanner Linsley
dea126c82a
release: v1.45.15
v1.45.15
2024-07-30 20:27:16 +00:00
Leonardo Montini
50045a4e1a
fix: expose unmaskOnReload on createRouteMask ( #2060 )
2024-07-30 22:23:00 +02:00
Manuel Schiller
08bbb333c2
docs: fix typos
2024-07-30 22:20:26 +02:00
Manuel Schiller
f0794aeea7
docs: link to useRouterState
2024-07-30 20:35:03 +02:00
Manuel Schiller
70148fc2ef
fix formatting in useRouterHook.md
2024-07-30 20:34:42 +02:00
Manuel Schiller
6bbdc7cbee
docs: warn that router.state is not reactive in the useRouter doc
2024-07-30 20:32:50 +02:00
Manuel Schiller
60c346baf0
docs: fix useLoaderDepsHook doc
2024-07-30 20:29:59 +02:00
Manuel Schiller
f5e011cb8f
Update useLoaderDataHook.md
2024-07-30 20:22:57 +02:00
Tanner Linsley
e2cd48537e
release: v1.45.14
v1.45.14
2024-07-29 21:31:59 +00:00
Manuel Schiller
06c3a6923d
fix(react-router): memoize Match, MatchInner as well as route components to prevent unnecessary re-renders ( #2056 )
2024-07-29 23:30:06 +02:00
Tanner Linsley
12ad68f26d
release: v1.45.13
v1.45.13
2024-07-29 20:19:15 +00:00
Manuel Schiller
49f413e24e
fix(react-router): correct typing of useLoaderData ( #2055 )
2024-07-29 22:18:12 +02:00
renovate[bot]
a1438ee99c
chore(deps): update all non-major dependencies ( #2051 )
...
* chore(deps): update all non-major dependencies
* Fix typescript-eslint rules
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-29 19:30:05 +10:00
renovate[bot]
18d2efc2bd
chore(deps): update all non-major dependencies ( #2047 )
...
* chore(deps): update all non-major dependencies
* Update renovate config
* pnpm dedupe
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-29 12:02:53 +10:00
Sean Cassiere
3f6ffa5a21
test(examples): validation of layout route functionality by running e2e testing on the basic examples ( #2042 )
...
* chore: unify the layout ui across all the basic examples
* chore: more unification
* test(examples): e2e validation of layout routes
2024-07-28 00:12:15 +12:00
Sean Cassiere
3b9976d0a8
chore(react-router): cleanup unused imports ( #2041 )
...
* chore(react-router): cleanup unused imports
* chore(react-router): explicit exports for the index barrell file
2024-07-27 23:12:11 +12:00
Sean Cassiere
98d95d6c0a
test(react-router): move the SSR redirect tests to the correct test file ( #2039 )
...
* test(react-router): move SSR redirect tests to the `redirect.test.tsx` file from `index.test.tsx`
* chore(react-router): make this a dummy file since we may want to grab the commented out tests from here
2024-07-27 20:50:48 +12:00
Sean Cassiere
03b05999c5
docs: cleanup the Reference API page having the hooks being suffixed with (.md) ( #2038 )
2024-07-27 14:39:58 +12:00
Tanner Linsley
4556d7d887
release: v1.45.12
v1.45.12
2024-07-27 00:31:45 +00:00
Sean Cassiere
8d4c9c8e80
build(react-router-with-query): add @tanstack/react-router-with-query to the publish list ( #2037 )
2024-07-27 12:30:15 +12:00
Julius Marminge
2c94fa0ee8
fix(router-with-query): do not restrict router context to only queryClient ( #2007 )
2024-07-27 00:54:15 +02:00
Tanner Linsley
bfba3ede23
release: v1.45.11
v1.45.11
2024-07-26 03:54:21 +00:00
Sean Cassiere
6981a3a711
fix(react-router): retain path parameters that are falsy but still valid ( #2027 )
...
* test(react-router): check for falsy values
* test(react-router): interpolatePath
* test(react-router): beef up the link test
* fix(react-router): only strip out `undefined` in the `joinPaths` function
2024-07-26 15:52:56 +12:00
Tom Ballinger
02f934c643
docs: Warn against DOM-rendering elements in Wrap and InnerWrap ( #2017 )
...
* Warn against DOM-rendering elements in Wrap and InnerWrap
* update docs
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-25 20:20:15 +02:00
Manuel Schiller
f7c74bc2d9
tests: consolidate duplicate tests ( #2022 )
2024-07-25 00:13:43 +02:00
Tanner Linsley
a7296947db
release: v1.45.10
v1.45.10
2024-07-24 21:34:19 +00:00
Manuel Schiller
dadc0ebc95
fix: correctly resolve paths when basepath is set ( #2021 )
...
fixes #2019
2024-07-24 23:33:19 +02:00
Tanner Linsley
a8970eaccb
release: v1.45.9
v1.45.9
2024-07-24 21:03:01 +00:00
Manuel Schiller
b212862c22
fix: correct typing for Route.useNavigate ( #1940 )
2024-07-24 23:01:49 +02:00
Tom Ballinger
789c4660ef
docs: add more installation details to getting started with TanStack Start guide ( #2016 )
...
* Add details to getting started with Start.
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-24 18:22:15 +12:00
Baqir Khan
2c5452e8fa
docs: typos in the "data loading" and "deferred data loading" guides ( #2015 )
...
* Fix minor typo in data loading docs
* Fix typo in deferred data loading
2024-07-24 13:22:20 +12:00
Lachlan Collins
086af9902d
ci: enable renovate automerge, pin actions ( #2012 )
...
* ci: enable renovate automerge, pin actions
* Remove test:format from Nx
* Use config@main
* Simplify publish.js
* Remove prettier from Nx
2024-07-23 11:13:39 +10:00
Sean Cassiere
eece47d155
chore: prettier and the start-basic example to ignore the "test-results" folder ( #2013 )
...
* chore(examples): gitignore the test-results folder
* chore(workspace): prettierignore the test-results folder
2024-07-23 13:04:47 +12:00
Tanner Linsley
6d2a39e190
release: v1.45.8
v1.45.8
2024-07-23 00:48:37 +00:00
Sean Cassiere
63018c2242
fix(start): expose "vercel" and "netlify" as target deployment presets ( #2002 )
...
* expose netlify as a deployment option
* add "cloudflare-pages" as an option
* add "static" as a deployment option
* add route pre-rendering
* add "node" as an option
* whoops put this back in
* correctly label the comments
* warn the user when using a problematic deployment preset
2024-07-23 12:46:37 +12:00
renovate[bot]
a8d50aceec
chore(deps): update all non-major dependencies ( #2004 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 00:12:17 +10:00
dli9431
7087c4bb01
docs: typo in an import statement within the code-splitting guide ( #2005 )
...
typo on import
2024-07-22 19:51:48 +12:00