react-render-in-browser
react-render-in-browser copied to clipboard
Did not expect server HTML to contain a <div> in <main>. (Server side rendering)
I got an error when using it with SSR:
Did not expect server HTML to contain a <div> in <main>.
This lib is not SSR ready yet. Maybe we should to add something to support SSR.
@flexdinesh Maybe check if the environment is a browser? like checking if window object exists? btw thank you for making this awesome library.
Thank you. I'll try to smash some code soon to get this to work with SSR.