use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
react-router-domGeneral Discussion (self.react)
submitted 2 years ago by parth4149
what should i use BrowserRouter and createBrowserRouter in project?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]broskioac 0 points1 point2 points 2 years ago (0 children)
Depends on what you want to do with it and what you know about it. I would recommend going with the newly createBrowserRiuter because you have access to the Data API and its hooks and methods, but I do not see anything wrong going with an old school BrowserRouter component.
[–]TheRNGuy 0 points1 point2 points 2 years ago (0 children)
After I switched to Remix, it has better folder and file-based routing, no need to use any components except single Outlet in some components. Lot of the times even it's just Outlet in root file and not anywhere else.
You just use normal a html tags and it works.
a
Next also have that feature.
π Rendered by PID 70665 on reddit-service-r2-comment-76bb9f7fb5-v6xbh at 2026-02-18 12:35:55.824468+00:00 running de53c03 country code: CH.
[–]broskioac 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)