Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're forgetting the state management required to link the components. Here's a take (by Claude) on what it would look like, even if you ignore the entire `useDataSource` implementation it's an entirely different beast:

https://gist.github.com/ricardobeat/8aedb9c6d3a1b0bfaba9cc55...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: