Deprecate `computed()` + `task()`
Author: aiCreated Aug 26, 2024Updated Feb 7, 2026
Async computed should be designed much better that we have right now in computed() + task().
For instance, we need to cover error case, have explicit loading state and a solution to mark loading state between values.
So the plan:
- Create a better API
- Mark
computed()+task()as deprecated with warning - Do a N+1 major release
- Remove
computed()+task()in N+2 major release.
Source: nanostores/nanostores