Forget about React Router. Modern and clean routing with hooks
A quick experiment about using hooks for routing in a react app turned out to be very flexible and powerful.
Forget about React Router. Modern and clean routing with hooks launched on March 21, 2019 with 11 votes, #1,033 of 2,994 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 7 years on.
In plain words
Hookrouter is an npm module that provides routing for React applications using hooks instead of traditional routing libraries. The core useRoutes() hook evaluates predefined routes and renders the appropriate components. It has zero dependencies and adds approximately 2.9kb to bundle size, making it a lightweight alternative for developers seeking a modern approach to client-side routing in React applications.
written from the facts on this page · September 2026
From the sources
A quick experiment about using hooks for routing in a react app turned out to be very flexible and powerful. I published the module hookrouter on npm for anyone to use. Let me introduce it to you in this article. Update: Version 1.2.1 has been released with lots of new features and detailed documentation . The router module is published on npm and can be installed by calling npm -i hookrouter . It has zero dependencies and adds about 2.9kb to your bundle . The module contains the hook function useRoutes() that evaluates your predefined routes and returns a result. There is also the function navigate(), which imperatively navigates your application to a new url. useRedirect() can be used to…from parastudios.de
Does a similar job
all alternatives →
React Routing in 120 lines (including comments)2022 · github.com · ▲74A sample of useful snippets in React. Contribute to ashok-khanna/react-snippets development by creating an account on GitHub.

React Hook Form – Simple Form Validation2019 · react-hook-form.com · ▲112React hook for form validation without the hassle

- ASA Simple LocalStorage Hook in React2019 · npmjs.com · ▲35

More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, March 2019
the whole month →- AR
Software and hardware projects for fun from a guy who loves retro computing
Life & fun · 2019 · internalregister.github.io
Accessible Brand Colors▲1,163A tool to make sure your brand colors are ADA compliant.
Dev tools · 2019 · abc.useallfive.com
Checklist Design▲1,158The best UI and UX practices for production ready design
Work · 2019 · checklist.design


