https://stately.ai/docs/migration
I want to give it properly formatted to AI so it knows how to write v5 🙏🏽
The guide below explains how to migrate from XState version 4 to version 5. Migrating from XState v4 to v5 should be a straightforward process. If you get stuck or have any questions, please reach out to the Stately team on our Discord.