DEV Community

Discussion on: Using a React Component's function from its Parent

Collapse
 
sabinthedev profile image
Sabin Adams

Certainly agree 100%! Thanks for pointing this out, the demo in the article was just a simple example of “how” to set up and use the refs. Definitely not the ideal situation to actually use them though 👍