do you think xstate is suitable to be used as an implementation detail in a library?
i'm creating a library which essentially consists of two actors, on different machines, that need to communicate and manage state together. i've implemented a PoC already using xstate, but i now need to generalise it and distribute as a library
some points:
- performance doesn't really matter at this stage (i'm sure xstate is adequate), but bundle size is a concern (one actor can be in the browser)
- my machine requires nested and parallel states as well as invoked services
i ideally wanna support deno in the future, which i know probably isn't gonna be easily possible with xstate (maybe in v5 it will be tho?)