"The reason you don’t want to use getElementById or querySelector is because you may be designing your React app to output multiple of the same ID’s, which is a no no."
Can please elaborate? or give some example?
I don't understand what it means "you may be designing your React app to output multiple of the same ID’s".
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"The reason you don’t want to use getElementById or querySelector is because you may be designing your React app to output multiple of the same ID’s, which is a no no."
Can please elaborate? or give some example?
I don't understand what it means "you may be designing your React app to output multiple of the same ID’s".