Selectively hydrate server rendered React components!
Inspired by second
Check out the different versions (tagged in git)
npm install
npm start
- Renders a
<div>
element around the component - Need to use different Version of component in server- and client-side code
- Can only hydrate a single instance of each component type as of now. For lists hydrate the wrapper
- Can only hydrate props, no state or data fetching