Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
H1Supreme
· 11mo ago · 0 comments
How do you handle routing with plain React?
Comments
[–]
codedokode
11mo ago
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.
[–]
yawaramin
11mo ago
That's what we've been trying to tell you!
[–]
CooCooCaCha
11mo ago
Using built-in browser apis. Not sure what you’re getting at.