Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you handle routing with plain React?


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.


That's what we've been trying to tell you!

Using built-in browser apis. Not sure what you’re getting at.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: