How do you handle routing with plain React?
Re:Please Just Try Htmx
by CooCooCaCha on Thursday December 18, 2025 @02:46PM
(#46317625)
Using built-in browser apis. Not sure what you’re getting at.
Re:Please Just Try Htmx
by codedokode on Thursday December 18, 2025 @11:09PM
(#46322186)
React is an implementation of View component of MVC, View is responsible for displaying Model contents, not for handling routes. You are trying to use the wrong tool.
And I’m not saying every site needs to be an SPA. I’m saying if I can write everything from a simple site to an SPA in a single framework then why not use that for everything?