Hacker News new | ask | show | jobs
by theycallmemorty 4349 days ago
Maybe I'm not understanding the problem correctly, but I simply had the child components 'know' their index or id (stored in props) and then pass that to the parent with any call.