- For this reason, one must never put an id attribute in a component. Should the component need to be "foundable" by JS outside React, useRef() is the way of doing it. #bolhatech
- alternatively, useId() gives you a unique id that won’t clashOct 23, 2024 11:25