Triangle ReactJS Meetup - React Hooks
The purpose of this project is to demonstrate the difference between using Hooks (current in v16.7.0-alpha) and class components. This is not meant to be a production-ready project and should be treated as such. Hooks are still very much in alpha. Use at your own risk.
Slides for the presentaion are available here: Google Slides
Start - starts webpack-dev-server
|File||LOC w/o Hooks||LOC w/ Hooks||Difference|
- Using hooks for the most part felt much easier and faster than implementing a class component.
- Using hooks for the interval (countdown) was actually more of a pain with hooks than a class.