Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refactor of some React workshop components using React hooks with the sole purpose of getting a grasp of hooks.

About the refactor

Installation

Backend

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

Frontend

Follow these steps:

  • $ git clone git@github.com:LeticiaErrandonea/react-workshop-2018.git
  • $ cd react-workshop-2018
  • $ yarn install
  • $ yarn start

Hooks used

  • useState
  • useEffect
  • useValueState (custom hook)

Refactored components

  • Board.js
  • Boards.js

Further reference

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages