New
Unclaimed project
Are you a maintainer of xstate? Claim this project to take control of your public changelog and roadmap.
Changelog
Actor-based state management & orchestration for complex app logic.
Last updated 1 day ago
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
getNextTransitions(state) utility to retrieve all available transitions from a given state#5406 703c3a1 Thanks @davidkpiano! - Add getNextTransitions(state) utility to get all transitions available from current state.
import { getNextTransitions } from 'xstate';
// ...
const state = actor.getSnapshot();
const transitions = getNextTransitions(state);
transitions.forEach((t) => {
console.log(`Event: ${t.eventType}, Source: ${t.source.key}`);
});