@mindplaydk 1. yes, it's sometimes asked and e.g. Svelte has solution for this: https://t.co/JR32NBlxUu
2. js can be tricky, not always possible to detect it in compile time
@mindplaydk Right, if dependencies are not declared, then take them from a function.
There are cases when need to observe not all dependencies, also callback can be imported outside (not always possible analyze it) - based on Svelte community.
So it's good to have it optional.
@mindplaydk@lega911@RyanCarniato@n8bitt@malinajs This is not an animation itself. Just a store which value doesn't change immediately. But I have a realization of transition: https://t.co/ovuHpmASDZ
It may be a way to implement builtin transitions in malina.
@MichaelThiessen@vuejs "Fragment" is good for such things. You can define a snippet and insert it in different places or recursive.
live example: https://t.co/vMRvJ4Sp5J
@RyanCarniato@lega911@kvncnls@mikenikles@solid_js@sveltejs Forgot to mention, it's how it works within a component, but communication among components works like sort of observable/reactive-way, and every component has own independent detector.
@sajtowski @mikecodemonkey @chantastic You're right, too simple example, you can look at examples in articles: https://t.co/uOR0wMhZKp and https://t.co/3M5awjoUQY