/TUGA-MEALS

Primary LanguageJavaScript

TUGA-MEALS

PREVIEWS

m1

m2

2022-08-20.01-08-30.mp4

What I learnt when building this project

🎯 React hooks { useState, useEffect, useRef, useContext, useReducer }

🎯 Learnt about context(states) and how they are passed around using useContext and the provider.

🎯 Using a more suitable way of managing the state depending on the type of dispatch action. ie: The useReducer

🎯 How to get some attributes and manipulate React DOM using useRef and passing the ref through a component to a native tag using forwardRef

🎯 More about javascript

🎯 Learnt how to use useEffect to update some state in a component when its dependencies change