Dev Design Library

Freeze

Prevents DOM updates in descendant content through React Suspense, primarily to keep exit animations visually stable.

Freeze preview
Library
Lobe UI
Framework
React
Type
component
License
MIT
Install
pnpm add @lobehub/ui
Files
  • src/Freeze/Freeze.tsx
  • src/Freeze/index.ts
  • src/Freeze/type.ts
Source
https://github.com/lobehub/lobe-ui

Categories

More from Lobe UI