Describe the bug
When store get updated, I found component with transition directive won't update. It only happens when:
store.update() inside Promise then() block, if I move store.update() call to outside, it works as expected.
- transition directive was added in component.
To Reproduce
demo
- click
tab2 button, text should be updated to Hello Tab2 (can check console for store detail)
- click
tab1 button again
- click
tab2 button again, it now updates.
work around
- go to
Title.svelte, remove transition:fade, rerun it
- move store.update() outside of
then(), rerun it.
Expected behavior
text should be updated.
Severity
small.