Refactor of some React workshop components using React hooks with the sole purpose of getting a grasp of hooks.
Backend from the Rails workshop.
Follow these steps:
$ git clone git@github.com:wyeworks/rails-workshop-2018.git
$ cd rails-workshop-2018
$ rails db:create
$ rails db:migrate
$ rails server -p 3001
Follow these steps:
$ git clone git@github.com:LeticiaErrandonea/react-workshop-2018.git
$ cd react-workshop-2018
$ yarn install
$ yarn start
useState
useEffect
useValueState
(custom hook)
Board.js
Boards.js