Skip to content

example: update browser app to React Router 8 - #223

Merged
Makyl merged 1 commit into
mainfrom
example/update-react-router
Jul 27, 2026
Merged

example: update browser app to React Router 8#223
Makyl merged 1 commit into
mainfrom
example/update-react-router

Conversation

@Makyl

@Makyl Makyl commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR updates the browser example from React Router 6 to React Router 8 to resolve its dependency audit findings and align imports with the v8 package layout.

The browser example now audits with zero vulnerabilities while preserving its existing declarative routing behavior.

Changes

  • Replace react-router-dom with react-router 8.3.0 in the browser example.
  • Move BrowserRouter, route components, navigation components, and routing hooks to react-router imports.
  • Refresh the browser lockfile with the React Router 8 dependency graph and audited Nano ID and PostCSS patch updates.

Risk / Impact

  • No public Nexus SDK APIs or exports change.
  • Browser routing behavior is unchanged; this only migrates the dependency and import source.
  • The browser example now inherits React Router 8's Node 22.22+ requirement.
  • The regenerated lockfile also includes audited Nano ID and PostCSS patch updates.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nexus-sdk Ready Ready Preview, Comment Jul 27, 2026 12:34pm

Request Review

@Makyl
Makyl merged commit 4c5cf5c into main Jul 27, 2026
3 checks passed
@Makyl
Makyl deleted the example/update-react-router branch July 27, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants