Tanner Linsley
f56c23466d
release: v1.32.9
v1.32.9
2024-05-15 22:41:51 +00:00
Dominik Dorfmeister
fa25b3c8ad
fix(react-router): take from into account when building urls ( #1595 )
...
* test: link generation tests
* test: more tests
* fix: take dest.from into account when building urls
2024-05-16 10:39:20 +12:00
Tanner Linsley
7e9509ded1
release: v1.32.8
v1.32.8
2024-05-15 19:36:16 +00:00
Simen Bekkhus
6bd672a6d8
fix: do not use global JSX namespace ( #1598 )
2024-05-15 21:34:15 +02:00
Tanner Linsley
e6e28bb56f
release: v1.32.7
v1.32.7
2024-05-15 16:31:39 +00:00
Tanner Linsley
5d48fd6435
fix(start): tsc the config package
2024-05-15 09:29:24 -07:00
Tanner Linsley
8ae2ceefba
release: v1.32.6
v1.32.6
2024-05-14 20:57:25 +00:00
Tanner Linsley
4e5ee52a16
fix(start): imports/build
2024-05-14 13:55:24 -07:00
Tanner Linsley
acee5e5547
fix: publint
2024-05-14 11:39:19 -06:00
Tanner Linsley
3e99326e48
fix: start dependency chains
2024-05-14 11:30:53 -06:00
Tanner Linsley
00abc3609f
fix: move vinxi config to start
2024-05-14 01:45:25 -06:00
Tanner Linsley
569a1c698b
release: v1.32.5
v1.32.5
2024-05-13 18:47:57 +00:00
Christopher Horobin
fd956c9bc9
fix: do not allow relative pathing without from ( #1589 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-05-13 20:46:31 +02:00
Tanner Linsley
43a26a60be
release: v1.32.4
v1.32.4
2024-05-13 17:55:13 +00:00
Tanner Linsley
3d7d71f0ab
fix: allow lazyRouteComponent to throw errors
2024-05-13 11:52:44 -06:00
Tanner Linsley
f3e6680476
release: v1.32.3
v1.32.3
2024-05-13 16:51:34 +00:00
Dominik Dorfmeister
8cd47231ee
fix(types): useNavigate of getRouteApi should be tied to from ( #1588 )
2024-05-13 18:50:08 +02:00
Tanner Linsley
8233d2c5b6
release: v1.32.2
v1.32.2
2024-05-13 14:56:23 +00:00
Christopher Horobin
0898f2e12e
perf: new addChildren signature and generate more ( #1564 )
...
Be sure to re-run generator after upgrading
* perf: get lazy? do less?, generate more
* feat: add support for objects for children at runtime
- add type tests for objects with children
- add runtime support for objects with children
- add runtime tests for objects with children
* perf: apply similar optimisations for merging for code based
* perf: improve performance of LinkProps when passed to `Link`
* exmaples: add to large based file examples search, params and context
* docs: add TS performance recommendations to docs
* fix: remove route groups from id
* examples: update linkprops examples
* docs: update docs based on comments
* chore: remove export of `LinkComponentProps`
* chore: clean up PR
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-05-13 16:54:41 +02:00
Lachlan Collins
89907c6259
chore: Update @tanstack/config to v0.7.3 ( #1586 )
...
* chore: Update @tanstack/config to v0.7.3
Fixes preinstall issue on CI
* Fix prettier
2024-05-13 17:06:58 +10:00
Saiful Islam
a85970e2d7
docs: Update root file name and update root ID ( #1585 )
2024-05-12 22:45:45 +02:00
Tanner Linsley
e81fe6bea0
release: v1.32.1
v1.32.1
2024-05-11 22:42:34 +00:00
Tanner Linsley
997e852669
fix: experimental shell components
2024-05-11 16:39:58 -06:00
Tanner Linsley
d9a5adaca8
release: v1.32.0
v1.32.0
2024-05-11 12:34:56 +00:00
Sal Hasan
2a19b03d6b
feat(react-router): add a useLocation hook to get the current ParsedLocation ( #1577 )
2024-05-11 14:33:15 +02:00
Tanner Linsley
231b157fae
release: v1.31.29
v1.31.29
2024-05-11 03:44:03 +00:00
Sean Cassiere
1ecb2bb2aa
fix(react-router): implicit navigation for layout routes without a prefixed underscore id ( #1584 )
...
* test: tests for layouts without an underscore id
* test: correct the tests here
* fix: dont use the removeLayoutSegments and rework how this works
* chore: remove `@typescript-eslint/no-unnecessary-type-assertion` from router.ts
* chore: nuke the `removeLayoutSegments` function
* chore: stop eslint from freaking out
2024-05-11 15:41:56 +12:00
Tanner Linsley
54a2bbf976
release: v1.31.28
v1.31.28
2024-05-10 20:05:47 +00:00
Tanner Linsley
854e52226d
fix: cleanup all the experimental crap for SSR
2024-05-10 14:03:37 -06:00
Tanner Linsley
be4e4ed705
release: v1.31.27
v1.31.27
2024-05-10 19:12:52 +00:00
Tanner Linsley
ec3a96475e
fix: custom React.lazy
...
Apparently React.lazy will always suspend, even if the component is synchronously available. Makes sense, but this is annoying when used with our code-splitting paradigm. Since we preload the underlying components and even do our own top-level transition suspense for these components, it doesn't make sense to cause a React suspense boundary to suspend even if we have surely preloaded the component.
With this fix, if the component has been preloaded, it will synchronously render, otherwise it will suspend until it's been loaded.
2024-05-10 13:10:01 -06:00
Sean Cassiere
97d96befe3
docs: broken hyperlink on the "route-matching" guide ( #1582 )
2024-05-10 21:55:59 +12:00
Sean Cassiere
fd779855d9
test(react-router): resolving an incorrect configuration checking the route-bound hooks on createFileRoute ( #1581 )
2024-05-10 21:25:56 +12:00
David Birks
a89cb76fa0
docs: add missing comma to from an example in the router-context guide ( #1579 )
2024-05-10 19:49:24 +12:00
Tanner Linsley
b9c237780a
release: v1.31.26
v1.31.26
2024-05-09 12:29:37 +00:00
Sean Cassiere
0c01426fe9
fix(react-router): "onResolved" event not being emitted when React.StrictMode is enabled ( #1574 )
2024-05-10 00:27:55 +12:00
Tanner Linsley
dc401e2fab
release: v1.31.25
v1.31.25
2024-05-09 06:52:32 +00:00
Tanner Linsley
bce8e71652
fix: eslint
2024-05-09 00:50:21 -06:00
Tanner Linsley
2fb2596786
fix: properly abort out-of-date loadMatches invocations
2024-05-09 00:45:35 -06:00
Tanner Linsley
e6d820fadf
fix: lock file
2024-05-08 16:52:14 -06:00
Tanner Linsley
e1f38f921f
fix: rename react-router-server to start 😜
2024-05-08 16:51:45 -06:00
Tanner Linsley
b7f372a81b
release: v1.31.24
v1.31.24
2024-05-08 20:10:44 +00:00
Tanner Linsley
387d855127
fix: no double Transitioner, bring back root suspense
2024-05-08 14:06:30 -06:00
Lorenz Nimmervoll
b3528274fc
docs(examples): set correct correct server entry-point for production for "basic-ssr" ( #1562 )
2024-05-08 18:45:28 +12:00
Tanner Linsley
3426c55fbe
release: v1.31.23
v1.31.23
2024-05-08 05:33:38 +00:00
Tanner Linsley
8091135472
fix: SSR composition fixes
2024-05-07 23:31:00 -06:00
Tanner Linsley
ac2af70d91
release: v1.31.22
v1.31.22
2024-05-07 22:23:13 +00:00
Tanner Linsley
7e6d2b7920
fix: remove superfluous newline and script tag in deferred promise streaming
2024-05-07 16:20:28 -06:00
Tanner Linsley
6251562bf6
release: v1.31.21
v1.31.21
2024-05-07 16:52:16 +00:00
Tanner Linsley
c4d1ba67c7
fix: experimental backport to get React 19 <head> rendering anywhere in the document
2024-05-07 10:48:50 -06:00