SolidJS 2.0 Beta has been released, skipping the planned Alpha phase. The headline change is async as a first-class feature: computations can return Promises and the reactive graph handles suspension and resumption automatically, including direct use of Promises in createMemo. The Suspense/Loading model has been reworked so Loading handles only initial readiness while pending state is expressed via isPending(). New mutation primitives include action() and createOptimisticStore for optimistic updates. Updates are now microtask-batched with deterministic scheduling via flush(). Breaking changes include removal of the Index component (replaced by For keyed={false}), createEffect split into compute/apply phases, onMount replaced by onSettled, and removal of the use: directive system. A migration guide is available, and the beta is installable via npm under the next tag.
Sort: