You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has created some headaches for me as well yesterday — not even because I used async functions but because I tried mixing up return value with set(value). It should probably be explicitely documented that accepting the set parameter is mutually exclusive with returning a derived value.
If a deriver returns a non-falsy value, Svelte assumes it is a function, even if it isn't. This causes problems with e.g. async derivers:
Demo
The text was updated successfully, but these errors were encountered: