3 ms·
My team uses this: https://github.com/wesleytodd/nighthawk https://github.com/wesleytodd/nighthawk Basically it is just the Express router wrapped with logic f
by wesleytodd 10y ago
My team uses this: https://github.com/wesleytodd/nighthawk https://github.com/wesleytodd/nighthawk
Basically it is just the Express router wrapped with logic from Page.js for catching link clicks and what not.
We do universal rendering with a simple middleware and share all our middleware, rendering and route definitions on both the FE and BE.