remix-run/react-router ? reverse-engineered prompt
Reverse engineered prompt
Build me a React Router project for React that makes navigating between pages feel simple and clean.
I want it to work both as a full app style setup and as a lightweight routing library, so someone can either use it to build an app from the ground up or drop it into an existing React project. Please include a few example screens, nested routes, links, and a basic layout so it’s obvious how the pieces fit together. If there are current best practices or latest docs I should follow, look them up online if you need to.
Make the setup feel polished and easy to understand, with sensible defaults and a clear starting point for someone who just wants routing that works without a lot of extra fuss.
Are you gonna build this?
make sure you review the code using coderabbit