Sample, very simple App to showcase React's new Hooks API (available in alpha).
The app built on top of create-react-app and bulma. It displays a search box where you can input book title and after the form is submitted it calls OpenLibrary API and after successful call it displays the results.
Read more: https://matwrites.com/react-hooks-revisited/
Clone the repo
git clone firstname.lastname@example.org:msojda/react-hooks-openlibrary.git
cd react-hooks-openlibrary/ && yarn
Run the app
master contains an app with class based component. In order to use hooks api and see the difference you need to
react-hooks branch and run
yarn again to
upgrade react and