What is useCallback hook in React js
“useCallback” is a react hook which is used for return the memorized version of callback function. If we want to
Read more“useCallback” is a react hook which is used for return the memorized version of callback function. If we want to
Read moreCreate a Quiz application Create a timer component -: Create a timer component QstTimer.jsx for progress bar and define useEffect
Read moreCreate application -: Using the cmd command create a new application Create component -: Create header component for heading and
Read moreIn App.js using the “Add Project” button manage or create new project form with handleStartAddProject function, handle the form fields
Read moreSteps: Install tailwind CSS Initalize tailwind Edit tailwind.config.js Edit index.css Create sidebar component a) Install tailwind CSS: b) Initalize tailwind
Read moreSteps: a) Import useRef and useState from React b) Create input field and a button c) Create a function on
Read moreSteps: a) Create “Components” folder inside src b) Create Header.jsx component for title and header detail c) Create UserInput.jsx component
Read moreuseReducer: is used to manage sate in our react application, or we can say that its a state management tool.
Read moreUsing following steps we can use the objects in useState with React js Import useState from React.Initialize state with object.Update
Read moreUsing following steps we can get the value of input text using useState in React js Import useState from React.Initialize
Read more