The React snippet collection contains function components and reusable hooks for React 16.
React, Hooks
Resolves to useEffect()
on the server and useLayoutEffect()
on the client.
React, Hooks
Stores the previous state or props.
React, Hooks
Sets the title of the page
React, Hooks
Runs a callback at most once when a condition becomes true.