Skip to content

Customize "Hiding" the Frozen Element #38

Description

@shshaw

Related to #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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions