react-lazy-hydration
react-lazy-hydration copied to clipboard
hydration not working in Ms Edge or IE11
...i guess because it uses display:contents which is not supported in these browsers
I tried a css hack
div[style*="contents"] {
display: block !important;
}
but the hydration still failed.
You can override default styles by just passing a style prop.
thanks @hadeeb overwriting the style does work.
However I'm still having uses with ssrOnly in Edge. The SSR load looks good, then the client load takes takes place seems to detach the Css Classes from the
. WhenIdle works fine. ssrOnly works fine in Chrome and safari. I'm using Next JS and Styled Components.
is the props noWrapper could fix it ?