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
useStateuseEffectuseValueState(custom hook)
Board.jsBoards.js