-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(router): context issues #1907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
006ab08
fix(router): context issues
tannerlinsley 2786086
remove await (and eslint-disable comment)
schiller-manuel 591d412
copied test from https://github.com/TanStack/router/pull/1891
schiller-manuel ad4b820
copied test from https://github.com/TanStack/router/pull/1876
schiller-manuel 1e78f0c
fix formatting
schiller-manuel 26e64b1
for the context issues pr (#1908)
SeanCassiere f0a5f54
fix(router): it's now safe to preload an active route; isLoading is a…
tannerlinsley febc86e
Merge branch 'main' into fix-context-issues
lachlancollins 18c4429
do not export `getRouteMatch`
schiller-manuel e43c69f
fix tests
schiller-manuel 1df34b5
rename file to match tests
schiller-manuel d00653d
move redirect tests into redirect.test.tsx
schiller-manuel a7eb599
fix: automatically reset route-controlled error boundaries with `rout…
tannerlinsley 752a136
fix(router): notfound() now works after longer delay, beforeLoad + no…
tannerlinsley a90c8b9
fix: more fixes for error boundary resetting
tannerlinsley 040f826
fix: remove unnecessary destructure
tannerlinsley e303f1c
style(router-devtools): remove unused import and fix the eslint impor…
SeanCassiere ab2caa1
fix: move getMatch inside of getLoaderContext
tannerlinsley 37c28ca
fix: oops, typescript prematurely stripped code after an early return…
tannerlinsley 556a0a5
Merge branch 'main' into fix-context-issues
SeanCassiere 1e328f8
fix(react-router): issues from the merge conflict resolution
SeanCassiere 3f5db3a
fix: allow history subscribers to be observed
tannerlinsley 582a0e0
fix: granular promise sharing for beforeLoad/loader/lazy
tannerlinsley 8abb1e8
fix: test lint
tannerlinsley d690b0a
fix: Do not update active matches during preloading, but use latest m…
tannerlinsley 66576f5
test(react-router): check for `parentMatchPromise` being defined in t…
SeanCassiere 7d8b5a0
fix: supply parentMatchPromise again
tannerlinsley 64a8bdd
Merge branch 'main' into fix-context-issues
schiller-manuel 0f34fbe
fix: better MatchInner reactivity
tannerlinsley bdb00d5
style(react-router): prettier on `Match.tsx`
SeanCassiere 94856f6
Merge branch 'main' into fix-context-issues
SeanCassiere cdc141f
style(react-router): prettier on `router.ts`
SeanCassiere 2f9eeaa
Merge branch 'main' into fix-context-issues
SeanCassiere b6f2c68
fix: more concise minPendingMatch promise
tannerlinsley 91ad39e
fix: only disallow preload match updates to active matches **at the t…
tannerlinsley 2c92c18
comment out log
tannerlinsley 8a2979d
Merge branch 'main' into fix-context-issues
tannerlinsley 649ead6
Merge branch 'main' into fix-context-issues
SeanCassiere 4427e2e
style(react-router): resolve prettier on `Match.tsx`
SeanCassiere 2a85a58
fix types
schiller-manuel 50f0b4a
fix tests
schiller-manuel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.