react-lazy-hydration icon indicating copy to clipboard operation
react-lazy-hydration copied to clipboard

hydration not working in Ms Edge or IE11

Open fatlinesofcode opened this issue 5 years ago • 3 comments

...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.

fatlinesofcode avatar Nov 20 '19 11:11 fatlinesofcode

You can override default styles by just passing a style prop.

hadeeb avatar Nov 20 '19 13:11 hadeeb

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.

fatlinesofcode avatar Nov 21 '19 05:11 fatlinesofcode

is the props noWrapper could fix it ?

Yimiprod avatar Apr 08 '22 10:04 Yimiprod