Understanding re-renders with useState and useRef hooks (and memoization)
-
Updated
May 1, 2021 - JavaScript
Understanding re-renders with useState and useRef hooks (and memoization)
it's just some practice about useState, useEffect, useRef.
Only for Reference of Pankaj Nandwani
Basic react todo app usig useReducer to manage state. You cann add tasks to a list of tasks, delete them and toggle their completed status.
This is a sample React app that demonstrates the use of hooks such as useState, useEffect, useRef, useReducer, useCallback and useMemo.
A very simple app just to mirror images by url
A simple password generator build using React
Simple react app of emulating user Log In
Some practise with React Hooks
A collection of 4 pens showing how to employ fundamental react hooks, including useContext and useRef. Also showing the IntersectionObserver.
ReactJS Fetching Data & useEffect
This is a Dynamic Hamburger menu. You set the height dynamically using getBoundingClientRect()
Simple Movie App with many features using React.js include different state managment
Interactive and accessible dice game built with React. Uses multiple hooks to manage state and side effects in the application. Employs "forwardRef" to create a reference for the "Die" component. Relies on conditional rendering to alter the UI based on the game state.
Add a description, image, and links to the useref topic page so that developers can more easily learn about it.
To associate your repository with the useref topic, visit your repo's landing page and select "manage topics."