React Snippets

The React snippet collection contains function components and reusable hooks for React 16. In total 2 articles on this site. Use the search below to filter by title.

All Posts

usePersistedState

Returns a stateful value, persisted in localStorage, and a function to update it.

useAsync

Handles asynchronous calls.