Author: Simran Sharma

React hook are special functions that let you “hook into” react features like state and life-cycle methods in functional components . before hooks , these features were only available in class components . hooks make it easier to write and manage it easier to write and manage react code.useState() The useState is a react hook which help manage state of variables and we can update the state of that variable as well . useEffect()the useEffect refresh the web page after every change in web page . it mostly use in event handling whenever there is an update in a web…

Read More