Open TheBeachMaster opened 2 years ago
This seems to be a problem possibly caused by https://github.com/halfnelson/svelte-native-preprocessor/blob/master/src/index.ts @farfromrefug I think that package needs improvements.
@CatchABus I see. Never use thé preprocessor. Bût I LL try to fix it. Not durr I can publish that package though
Environment
Background
Reading this piece in Svelte Docs, what's important here is this piece
Expected Behavior
The expected behavior for 2 way data binding can be seen on this repl
What's happening
This works in reverse with Svelte-Native
Example
Say you have a couple of sliders like so
The "green" slider will behave as expected and not the "black" slider - expected here means that immediately you slide the slider, the value increments from 0 and not "undefined"
Notice the difference between the order of the directives.
Issue
Is this a bug or expected behavior?