React Freeze
react-freeze
React Freeze
Utilities
react
freeze
react-freeze
Utilities
javascript
npm
frontend
open source
ui
library
Stars
1.7k
Weekly
5.9M
Open issues
17
Bundle
~15 kB
Installation
npm install react-freezeCode example
import { useFreeze } from "react-freeze";
export function Example() {
const value = useFreeze();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by kmag
- 5.9M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 17 open issues on GitHub