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

> Honest question, is what you’re referring to this[1] or something else?

I’m talking about Solid, the web framework, which has hooks (they call them “effects”) similar to those in React, but which do not require explicit dependency lists when specifying them.

https://www.solidjs.com/tutorial/introduction_effects



Thanks. I don't understand how it's better though, wouldn't you need to start following the Rules of Hooks for this data retrieval (`count()`) as well, lest the renderer not know what all your dependencies are?




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

Search: