kolibri
kolibri copied to clipboard
Upgrade xstate to version 5.x
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
- Webinar of using version 5 of xState
- Xstate migration guide
### Tasks
- [ ] https://github.com/learningequality/kolibri/issues/12646
- [ ] Explore compatibility of vue 3.6.2 with xstate-vue
- [ ] Unify use of xstate for routing in vue in kolibri /KDS
- [ ] Follow migration guide from https://stately.ai/docs/migration
- [ ] Upgrade xstate in KDS
Please let me know if you need any help with this migration - willing to help!
Thanks @davidkpiano, we appreciate it. Your library has been of such a great help for some of our complex workflows.
v5.4.1 is the current target