Skip to content

Built To-Do List web app using React JS incorporating React JS useRef hook. State hooks re-render the component after each change, useRef hook used where re-paint of UI is not reqd and also used to gather value from JSX element, and display the same over the UI.

Notifications You must be signed in to change notification settings

sarimultv/To-Do-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

useRef

useRef() allows access to DOM elements and retains mutable values like input without re-renders.
Used with the ref attribute for direct DOM interactions.
Can hold previous state or prop values.
Not limited to DOM references, can hold any value.
Also, Refs can be passed as props.

Note: In JavaScript, Array does not have any type, a single array can contain String, number, boolean, number, & method at the same time JS.

Spread Operator

It spreads the current array. Creating an array using an existing array and adding more elements to it sequentially. It is used to maintain immutability when updating arrays or objects.

React JS

In real project, react authomatically works in async format

About

Built To-Do List web app using React JS incorporating React JS useRef hook. State hooks re-render the component after each change, useRef hook used where re-paint of UI is not reqd and also used to gather value from JSX element, and display the same over the UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published