JamesDHW / Training---React-useRef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The importance of useRef in React

demo of how a bug can be introduced when refactoring class component to functional

You can look at the files in ./components to show how our component was refactored, or see the git history of TableComponent.jsx to see how a bug arose, and how it was fixed.

In the project directory, you can run:

  • npm install / yarn
  • npm start / yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

About


Languages

Language:JavaScript 66.8%Language:HTML 27.4%Language:CSS 5.8%