SolidJSS
SolidJSโ€ข17mo agoโ€ข
6 replies
sabercoy

How does Transition API and createAsync interact?

https://github.com/sabercoy/solid-transition
this is a new solid start project with code only added to Home route

I don't understand why calling an async funtion inside createAsync causes the signal to be reverted back to as it was before the transition. I expected that setting a signal, even inside a transition start, would keep the new signal consistent with its new value.

In the snapshot, I wish to know why "after async function" is 0 and not 30 like the rest of them.
image.png
GitHub
Contribute to sabercoy/solid-transition development by creating an account on GitHub.
GitHub - sabercoy/solid-transition
Was this page helpful?