-
Notifications
You must be signed in to change notification settings - Fork 11
chore(deps): upgrade React Router to v7 #419
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
DarianM
merged 49 commits into
main
from
129-refactor-frontend-update-remix-to-react-router-v7
Nov 17, 2025
Merged
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
e5d0672
Initial commit for React Router v7 update
kjmitchelljr d8fb2f7
Merge branch 'main' into 129-refactor-frontend-update-remix-to-react-…
kjmitchelljr 70344a4
Fix typecheck
kjmitchelljr 713a362
Fix formatting issues
kjmitchelljr f730aaf
Fix issue w/ build process
kjmitchelljr 1b9ed5d
Commit pnpm-lock
kjmitchelljr c272381
Merge branch 'main' into 129-refactor-frontend-update-remix-to-react-…
kjmitchelljr 2b80677
Fix merge errors
kjmitchelljr 7f34159
Add build directory as output
kjmitchelljr 903da2c
Revert to custom build import
kjmitchelljr dc17ca9
Want to see virtual react router issue
kjmitchelljr 5a37c1c
Test for dev and production env
kjmitchelljr ac1d262
Add ts directive
kjmitchelljr 37e36b0
Remove ts directive
kjmitchelljr 457d75a
Revert uiStore changes
kjmitchelljr df4b088
Getting error for useRef = reintroduce change in uiStore
kjmitchelljr 0933a47
Fixes the tool routes
kjmitchelljr 270b536
With React Router this the redirect is no longer required in dev
kjmitchelljr cd60b39
Testing to see if it works on cloudflare runner
kjmitchelljr 1225dd1
Remove crypto alias to resolve CommonJS issue
kjmitchelljr 35dc016
Merge branch 'main' into 129-refactor-frontend-update-remix-to-react-…
kjmitchelljr b225ac2
No longer seeing the error
kjmitchelljr 1f499b3
favicon.ico not needed
kjmitchelljr 994f9e7
Combine into one import
kjmitchelljr 2c4c83d
Update vite-tsconfig-paths package
kjmitchelljr d0bd5ef
Fix potential circular dependency on build
kjmitchelljr 872cbbf
Will add in separate PR
kjmitchelljr 115bee1
Add back crypto alias
kjmitchelljr ce47a85
Merge main into react-router-v7 and resolve conflicts
kjmitchelljr 2bb4a3c
Fix payment-confirmation and wrangler file typechecks
kjmitchelljr 697a92e
Update response.json() references with data()
kjmitchelljr a8b33f1
fix typecheck
kjmitchelljr 8a9bce5
Re add persistState
kjmitchelljr 69c6d07
Wrap previous json args in data
kjmitchelljr 5d2eef0
fixes the crypto issue on local dev
kjmitchelljr 1847fa6
PR changes and persist state check
kjmitchelljr e98e395
Refactor Vite config to use concise syntax
sidvishnoi 32adaa8
Move type generation to package.json
kjmitchelljr 58a85a0
Merge branch 'main' into 129-refactor-frontend-update-remix-to-react-…
DarianM 06429fd
exclude .react-router type from liting; exclude .wrangler dirs from l…
DarianM 081ebf1
react linting only to frontend and components
DarianM 8eea4ff
Merge branch 'main' into 129-refactor-frontend-update-remix-to-react-…
DarianM 2451ac8
correctly persist wrangler dir path
DarianM 46f0fc5
Update routes and change to ts file
kjmitchelljr 2232c58
Update vite-tsconfig-paths
kjmitchelljr c9314a0
Update to pnpm-lock
kjmitchelljr 2ad4aef
Merge branch 'main' into 129-refactor-frontend-update-remix-to-react-…
kjmitchelljr 022356d
Redo lock file after merge with main
kjmitchelljr 2f6a61d
Wrap return in data and package updates
kjmitchelljr 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,4 +48,7 @@ build | |
| .cache | ||
|
|
||
| # macOS | ||
| .DS_Store | ||
| .DS_Store | ||
|
|
||
| # React Router | ||
| .react-router/ | ||
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
2 changes: 1 addition & 1 deletion
2
frontend/app/components/redesign/components/landing/ToolCard.tsx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import { type RouteConfig, index, route } from '@react-router/dev/routes' | ||
|
|
||
| export default [ | ||
| // Root index route | ||
| index('routes/_index.tsx'), | ||
| // Tool routes | ||
| route('banner/', 'routes/banner.tsx'), | ||
| route('link-tag/', 'routes/link-tag.tsx'), | ||
| route('payment-confirmation/', 'routes/payment-confirmation.tsx'), | ||
| route('prob-revshare/', 'routes/prob-revshare.tsx'), | ||
| route('widget/', 'routes/widget.tsx'), | ||
| // API routes | ||
| route('api/config/:type', 'routes/api.config.$type.ts'), | ||
| route('api/grant/:type', 'routes/api.grant.$type.ts') | ||
| ] satisfies RouteConfig |
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
6 changes: 4 additions & 2 deletions
6
frontend/app/routes/api.grant.$type.tsx → frontend/app/routes/api.grant.$type.ts
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.