rsnext/examples/with-react-with-styles/pages
Martin Bavio f8f308d6dd
Fix examples using __NEXT_DATA__ (#13567)
This PR fixes https://github.com/vercel/next.js/issues/4883.

It introduces a new global variable (`window.__REHYDRATE_IDS`) only when necessary.

In the case of the `with-react-with-styles` example, rehydration isn't happening, so I removed the creation of the variable. 

In the case of the `with-react-intl` example, the information doesn't seem to be set anymore on `__NEXT_DATA__`, so I just removed the default reference to it.
2020-05-31 20:20:01 +00:00
..
_app.js Fixing Redundant React imports on next.js/examples (#13384) 2020-05-26 15:03:58 +00:00
_document.js Fix examples using __NEXT_DATA__ (#13567) 2020-05-31 20:20:01 +00:00
index.js Fixing Redundant React imports on next.js/examples (#13384) 2020-05-26 15:03:58 +00:00