DioxusLabs / dioxus

Fullstack app framework for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
20.05k stars 764 forks source link

Fix memos in children; introduce isomorphic spawn #2029

Closed ealmloff closed 5 months ago

ealmloff commented 5 months ago

This PR cleans up the task code a bit and introduces a new type of task that runs on the client and during suspense, but does not block suspense. This is useful for two different kinds of futures:

Closes #2059

jkelleyrtp commented 5 months ago

Looks good, cleaner. Can we add a simplified test to catch the memo thing?