/infocao-junegreiro

In this challenge I have Refactored a project that makes use of classes by the functional approach of hooks to understand the differences between then

Primary LanguageJavaScript

Using Hooks & Context API

📋 Challenges

  • Refactor the original webapp that makes use of classes by the functional approach of hooks to understand the differences between then.
    • Changing Class to Function
    • Removing all this and using variable directly.
    • Changing state for useState
    • Changing lifecycle (componentDidMount, componentWillUnmount and others) to useEffect
    • Changing setState for the method used in useState
  • Applying Context API to the project

👩‍💻 Languages

javascript html5 sass


🧰 Technologies/frameworks

NPM Badge React Badge


🖥️ Testing the project

To test the project locally: git clone + npm install + npm start