|
|
|
|
|
by girvo
3895 days ago
|
|
Interestingly, we're using our "own" router that I wrote in a fit of frustration; it's tiny, not particularly well documented and has the interesting design choice of handing the route matching on to the user of the library; give each <Route /> component a name and have your route matcher callback return that name and you're good to go. The reason why I went down that route (pun intended) was that we built a rather large, isomorphic/universal web application that for SEO reasons had to act like a website vs a web app most of the time; until it started up the client side JS anyway. "react-router-component" was so close to what we wanted, but because it used React's somewhat undocumented "context" feature, it didn't play nicely with our Flux implementation at the time (Flummox). For that reason, my tiny router came into being, and for some reason it keeps sticking around despite my best efforts... https://github.com/studionone/react-isorouter Ps. I just found out that the README links to non-existent documentation, I really should fix that... |
|
I'm trying to find my way around flux but until now has been a little frustrating experience.
I wish something like Elm was mature enough.