Assigning multiple refs to a component.
My last post talked about creating refs in React. There are times when working with React, however, that you might need to assign two refs to the same Component or element.... »
My last post talked about creating refs in React. There are times when working with React, however, that you might need to assign two refs to the same Component or element.... »
Refs in React give us a way to get a reference to an actual underlying DOM node in a component or the component's instance. With the introduction of hooks (which I love) and useRef, it can get confusing sometimes about which type of ref to use and how to go about it.... »
Randy Coulman had a recent series of posts related to organizing Redux related code which was a great read and you should really go take a moment to look them... »