3 ms·
I think it may be time for the community or Facebook to write something that replaces react-router. It has been extremely difficult to build something on top o
by tbrock 11y ago
I think it may be time for the community or Facebook to write something that replaces react-router.
It has been extremely difficult to build something on top of it and keep current. Pre-1.0 I can understand the API thrash but 1.0->2.0 in a couple months?
Facebook should carry the torch here and write a standard router. This is a core component critical to the success of React for any applications more complicated than a dashboard.
- insin 11y agoI don't undestand this expectation, there's nothing magic about 1.0. They thought they had the API figured out for various use cases beyond the core routing functionality, but it turns out they didn't. In addition, 2.0 is supposed to be backwards-compatible for end users and they're providing codemods to help you update when it's convenient to do so.