#web-development
Read more stories on Hashnode
Articles with this tag
In react, Refs provide a way to access or reference the DOM element from within a parent component. Generally, in react, we would use props for any...
It's both! Let's find out how. Pass by value Whenever a function is called, if the value of the variable is passed directly as the parameter, then the...
slice() and splice() are both methods on javascript arrays! slice() slice() copies the items from the original array and returns the elements the...
As you may already know, A React component can return only 1 node. So if we had multiple elements to return, then we have to simply wrap a <div>...