3 ms·
Instead of using a library for state machines, have you thought about trying a language [1] that does that in a type safe way, with a compiler that has your bac
by giovannibonetti 5y ago
Instead of using a library for state machines, have you thought about trying a language [1] that does that in a type safe way, with a compiler that has your back if you forget to deal with a state?
[1] https://elm-lang.org https://elm-lang.org
- aloisdg 5y agoI read a lot of good think about elm. I would personally rely on F# and use Fable (with elmish syntax), but most front-end team are not ready for this kind of jump. xstate is quite easier to insert into a classic React code base. js devs dont really like to move outside js. Beside it is hard to onboard js devs, let's say that the F# or elm pool are even smaller.
- exdsq 5y agoAlso some issues with Elm like breaking changes, lack of library support, etc, makes it a little awkward for prod