Using Hooks to Reactify a Plain JavaScript Library: A Walkthrough
By Andrew Petersen | | Productivity & Collaboration
Here’s how to use React Hooks to wrap a vanilla JavaScript library with a React component so you can easily reuse it throughout your app and stay in React Mode.