2 ms·
I'm working on a universal app right now, and I've found a lot of success factoring aspects like middleware setup and router setup, so that they can differ betw
by acjohnson55 11y ago
I'm working on a universal app right now, and I've found a lot of success factoring aspects like middleware setup and router setup, so that they can differ between client and server sides. On the server side, no actions are ever dispatched, so no router methods ever get called. The only thing I use the Router for is matching the route to know what to pre-fetch before rendering.