Comments (4)
Just as a followup, there is @xstate/fsm / xstate-fsm docs which is the bare minimum version of xstate. I wanted to use this one until I stumbled upon yours.
Would be nice if you could add this to your comparison, because it seems to be a bit more fair, regarding the size.
from robot.
@RiZKiT Thanks for the suggestion, I might do that. Note that Robot is comparable to XState in features; @xstate/fsm
is more bare-bones. If xstate/fsm had all of the features of XState they would tell you to use that instead, right?
from robot.
As someone just weighing up the options, it would be useful to know what robot
can do that @xstate/fsm
can't. I think it takes quite a bit of digging and a good understanding of the terminology to figure this out at the moment.
from robot.
The XState FSM page says the things that it cannot do: https://github.com/davidkpiano/xstate/tree/master/packages/xstate-fsm
Robot can do almost all of those things. Robot is not a minimal FSM implementation, which is why I don't compare it to those things.
from robot.
Related Issues (20)
- API: Consider renaming `interpret()` to `createService()` HOT 4
- Deadly traffic light HOT 3
- What's the differences between robot and @xstate/fsm HOT 1
- [Question] Using the returned objects in place of the function calls HOT 2
- A library to visualise Robot3 state machines HOT 1
- `onChange` not called for `immediate` states HOT 3
- Allow `action()`s to send events back to the fsm HOT 2
- invoke dynamic child machines HOT 5
- **CRITICAL BUG** Interpret reference HOT 5
- Bring integrations into the main repo
- Get CI setup
- Automate release process
- The machine's current state is not updated when send is triggered HOT 1
- initialContext is not set HOT 1
- Problem with es modules with next.js HOT 9
- [bug?] Nested machines immediate issue HOT 1
- Infinite loop if machine is created anew each render
- Feature request: Official qwik integration
- TypeError: Cannot read properties of undefined (reading 'default') HOT 4
- Method to check if transition is traversable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robot.