carlsverre / react-outlet

Bottom-up Transclusion for React
MIT License
71 stars 12 forks source link

Adding ability to 'rewind' the outlet registry. Useful for resetting … #2

Closed adamastern closed 8 years ago

adamastern commented 8 years ago

Currently this component doesn't work with server side rendering because the outlet registry maintains its state between server-side renders. This PR adds a new method to Outlet, 'rewind', that resets the registry. This method should be called server-side before each render.

egdelwonk commented 8 years ago

Any chance this getting merged in ?