Skip to content

Upgrade xstate to version 5.x #11614

@jredrejo

Description

@jredrejo

Overview

The xstate library kolibri uses for some of the kolibri processes has released a new version v5.x that adds some features but introduces some breaking changes with version 4.x .

We should apply those changes to kolibri code before upgrading to v5.
Also some of the new features (use of can in guards or the fromPromise helper can improve current machines code)

Description and outcomes

To be done in a future 0.16 patch release

Resources

### Tasks
- [ ] Follow migration guide from https://stately.ai/docs/migration
- [ ] Upgrade xstate in KDS
- [ ] https://github.com/learningequality/kolibri/issues/12646 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions