Inspired by Josh W. Comeau's blog, this is a collection of my code snippets that you can look at for inspiration or copy/paste at will.
|useForceUpdate()||Description: An imperative way to force a component to update with Hooks||Category: React Hooks|
|usePrevious()||Description: Hook for storing and getting a previous value||Category: React Hooks|
|useSwitch()||Description: A basic React Hook for managing binary states||Category: React Hooks|
I write a newsletter to share my thoughts and the projects I'm working on. I would love for you to join the conversation. You can unsubscribe at any time.