universal-router
Universal routing both for backend and frontend (by fatih-erikli)
wouter
🥢 A minimalist-friendly ~2.1KB routing for React and Preact (by molefrog)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
universal-router | wouter | |
---|---|---|
1 | 19 | |
2 | 6,132 | |
- | - | |
2.1 | 9.4 | |
over 2 years ago | 8 days ago | |
TypeScript | TypeScript | |
- | The Unlicense |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
universal-router
Posts with mentions or reviews of universal-router.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-13.
-
Show HN: React Routing in 120 lines (including comments)
I use it like that and I am pretty happy with it.
There's one thing, you should redirect all the pages to one single endpoint in server side order to use "pushState". Otherwise it will return 404 when you hit the refresh button. If you don't own a server, you can support routing with hashtag "#" and listen to "onhashchange" event instead of "popstate".
Also, if you would like to support nested and dynamic routes (it's not possible with that code snippet in the github repository since it just checks like `path===currentPath`), you might look at the following solution:
https://github.com/fatih-erikli/universal-router/blob/main/u...
I use that solution in server-side and client-side so it works like Nextjs.
wouter
Posts with mentions or reviews of wouter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-04.
-
Finally switched to Vite after CRA.
We're using wouter with great success. It's simple and effective for what we need from a router
- What is your biggest pain as a Flutter developer?
- An alternative to react router
-
Is React Router V6 over-engineered?
If you feel like React Router is a bit too over-engineered and you just need simple routing, you can have a look at https://github.com/molefrog/wouter
- Didn't realize so many others are also a bit tired of React Router. I ended up porting my app over to Wouter.
-
Switched from Next.js to Remix.js and Loving it.
I changed over to using wouter instead of react-router, and I love it!
-
Why is my Single Page App sometimes reloading the nav bar between page transitions?
Just to add alternatives. I'm a fan of Wouter its 1/10th in size compared with react-router.
-
Project without React router library
Other options than react-router are also available, like wouter, if you can't use react-router for some specific reason.
-
Is building a big project/website/app with React a mistake?
Single page just means one index.html is served and then JavaScript takes over to display content. You can use a client side router to simulate pages. There are some to choose from, I can recommend wouter. https://github.com/molefrog/wouter
-
How I got a remote job without a degree nor experience
Routing: At this point you should understand how routing in React works. You can use react-router to enhance it. There is a small library called wouter which you might want to have a look at.