3 ms·
The important part for making it isomorphic is the data flow - you could use any component which can populate its form fields and error messages from props on i
by insin 12y ago
The important part for making it isomorphic is the data flow - you could use any component which can populate its form fields and error messages from props on initial render. The express middleware [1] which uses your react-router routes just handles getting data to the right place.
[1] https://github.com/insin/isomorphic-lab/blob/master/src/react-router-middleware.jsx https://github.com/insin/isomorphic-lab/blob/master/src/reac...