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

VM9:85 ReferenceError: cleanup is not defined

Open jemliF opened this issue 3 years ago • 0 comments

Hello, I am using Next 12, I am using react-lazy-hydration this way:

<LazyHydrate ...> <Component /> </LazyHydrate>

When I use whenVisible or whenIdle, I have the following error when serving the website statically (I don't see the error when running in dev ):

image

I don't see the error when using ssrOnly option.

jemliF avatar Feb 15 '22 11:02 jemliF