3 ms·
How is this different than building a single page app with say, react router + redux?
by a13n 9y ago
How is this different than building a single page app with say, react router + redux?
- madmaniak 9y agoYou can use anything with this router (redux too). I agree react router is a nice tool - but in a classic paradigm. The difference is - you don't define routes. If you create a component and it needs a data you just ask the url store for it. Or if you need to persist some data you just write to the store. It creates nice urls - always a name and a value. Additionally you have setters which will handle a serialization of your object to nice string. And of course getters which will wrap your data into a custom object - so it's not a string.