Source: cirosantilli/_file/nodejs/next/inject-into-static

= nodejs/next/inject-into-static
{file}

In this example we attempt to inject <React> elements into statically rendered HTML coming from the server, and properly hydrate them.

Questions by <Ciro Santilli>:
* https://stackoverflow.com/questions/78892868/how-to-inject-a-react-component-inside-static-pre-rendered-html-coming-from-the
* https://www.reddit.com/r/nextjs/comments/1ewwea3/how_to_inject_a_react_component_inside_static/
* https://github.com/vercel/next.js/discussions/69099

Bibliography:
* https://stackoverflow.com/questions/76489919/nextjs-custom-component-hydration
* https://stackoverflow.com/questions/67915232/how-to-use-domparser-in-next-js