software-mansion/react-freeze
Prevent React component subtrees from rendering. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 85
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1787
- days_rel: n/a
- days_push: 93
- n_releases_24m: 0
Adoption not part of the score
1654 stars · 43 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small React library that prevents component subtrees from rendering by leveraging the Suspense mechanism. Frozen components are not unmounted, so their state and native view instances (DOM elements or React Native views) are preserved while hidden.
Use cases
- prevent hidden React Native screens from re-rendering
- freeze off-screen components to save reconciliation work
- keep scroll position and input state while a screen is covered
- stop redux store updates from re-rendering invisible views
- optimize stack navigation performance in React Native apps
- suspend rendering of parts of a React component tree
When to choose
- you use React Navigation in React Native and want to skip re-renders of hidden screens
- you need to preserve component state and native views while hiding UI
- you want to reduce unnecessary React computation for invisible subtrees
When to avoid
- you need hidden components to actually unmount and free resources
- your React version predates Suspense support (React 17+ required)
- you need to freeze components in ways incompatible with Suspense semantics
Facets
library · maturity stable
state-management ui-components frontend web-development mobile-development performance cross-platform react suspense render-optimization react-navigation performance-optimization react-native web
2 sources
- readme: https://github.com/software-mansion/react-freeze · fetched 2026-08-28 · 8b5a303c8d6e
- registry_npm: https://registry.npmjs.org/react-freeze · fetched 2026-08-29 · 7c8b3b37e86f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| software-mansion/react-freeze | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="software-mansion/react-freeze")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem