Re:Thoughts on Svelte
by opensas on Monday March 27, 2023 @04:47PM
(#35332322)
the inconsistency comes from the fact that this reactivity, triggered from inside a function, is not taken into account to build the dependency graph and ultimately decide in which order to process the statements
https://svelte.dev/repl/44e3aece18294ddb834bcdfb4394af48?ver...
` <script>
</script><h1>Hello {name}!</h1>
<button on:click={flip}>flip!</button> `