Hacker News new | ask | show | jobs
by xiphias2 1557 days ago
> It suffices to simply provide some way to pass this class from a parent to a child, for example, and let the child component decide what to do with it.

Again, the child component can't decide what to do with a class, as it can't know specifics about the parent. It would break the modularity.

I checked the most commented issue, it's about the reactivity system doing only one round of checking in topological ordering, which could be fixed, but could cause infinite loop, and again the problem is not implementation, but deciding on the best design:

https://github.com/sveltejs/svelte/issues?q=is%3Aissue+is%3A...