react-freeze
react-freeze copied to clipboard
Customize "Hiding" the Frozen Element
Related to https://github.com/software-mansion/react-freeze/issues/27 but a bit different.
React Suspense adds display: none !important to suspended elements that are kept in the DOM, and then the fallback gets injected.
Is there a way to have the element still displayed but be frozen for updates? Can Suspense or react-freeze be customized at all to let the Element itself still be displayed, while still being frozen?
Use Case: Using IntersectionObserver + freeze to create a virtualized list.