That’s fantastic! Learning React is a valuable skill in the field of web development. React is a JavaScript library developed by Facebook for building user interfaces, particularly for single-page applications where UI updates are frequent.Today I learn the fundamentals of JavaScript, as React heavily relies on it.Understand HTML and CSS for structuring and styling your components.
HOOK:
*useState
is used to add state to functional components. It returns an array with two elements: the current state value and a function that allows you to update the state.
*useEffect
is used to perform side effects in your components, such as data fetching, subscriptions, or manually changing the DOM.
*usenavigate: the common way to handle navigation in functional components is by using the useNavigate
function provided by the react-router-dom.