gitignore icon indicating copy to clipboard operation
gitignore copied to clipboard

Node: Add react-router

Open deniz-blue opened this issue 3 months ago • 2 comments

Reasons for making this change

react-router is a widely used library/framework for making routing based react applications. this PR adds react-router v7 framework mode's gitignore folders

Links to documentation supporting these rule changes

React router has added framework mode on v7 which is based on Vite.

React router documentation unfortunately does not mention both of these:

  • .react-router folder houses autogenerated .ts files (per-route) for type checking
  • React router puts build output into the build folder (as opposed to dist with vite)

I have added .react-router into the gitignore but I am unsure about including the build folder. Should I keep it like this, include it or remove it? Currently its commented out (so if anyone needs to, they can uncomment it)

Merge and Approval Steps

  • [x] Confirm that you've read the contribution guidelines and ensured your PR aligns
  • [ ] Ensure CI is passing
  • [ ] Get a review and Approval from one of the maintainers

deniz-blue avatar Sep 11 '25 15:09 deniz-blue

This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open :smile:

github-actions[bot] avatar Dec 10 '25 16:12 github-actions[bot]

pending yes/no

deniz-blue avatar Dec 11 '25 11:12 deniz-blue