3 ms·
We built a very similar component for React, hooked into Flummox. The nice part is that async "just worked", and having the entire router available as a Flux st
by girvo 11y ago
We built a very similar component for React, hooked into Flummox. The nice part is that async "just worked", and having the entire router available as a Flux store with actions that you can fire to change the page made integration powerful.
We also added some extra little code to make it run on the server: the <Link> component renders down to an <a> tag, and the router runs correctly, so everything works isomorphically, and as a neat bonus the bulk of the site works without Javascript enabled.