React Custom Hooks Tutorial - Creating useOnline, Testing and Publishing It
This was originally posted on my personal blog
In this tutorial, we'll go over how to create a simple custom React hook, testing it locally, and then publishing it on NPM. The React hook we'll create isuseOnlinewhich detects if the user goes offline ...
shahednasser.hashnode.dev12 min read