@pragmatically-typed/react
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Updates useState to return readonly state to help prevent state mutation bugs.

editor error when trying to push to readonly array returned from our modified use state

Dependents (1)

Package Sidebar

Install

npm i @pragmatically-typed/react

Weekly Downloads

7

Version

1.0.3

License

MIT

Unpacked Size

1.7 kB

Total Files

3

Last publish

Collaborators

  • jfleckenstein