Mateusz Burzyński
Mateusz Burzyński
`self` isn't typed perfectly yet. We need to improve it here: https://github.com/statelyai/xstate/blob/a70d843e38b06527e5602aa922f5aad7723c6433/packages/core/src/types.ts#L111-L117
`getPersistedSnapshot` isn't typed "concretely". We had that during `beta` but it introduced a lot of complexity for not much gain. In the running app, you are not really supposed to...
Likely related to: https://github.com/statelyai/xstate/issues/4613
The packages that you have mentioned were bumped because something has changed in their source code - not because the peer dep range has been changed. I don't see a...
The idiomatic way to achieve this would be to hoist your machine to some common parent and then pass down the created `actorRef` using the provide/inject API ( https://vuejs.org/guide/components/provide-inject )....
> Unless I'm missing something, provide/inject is easy until you want to add type safety to it, which causes [some indirections](https://vuejs.org/guide/typescript/composition-api.html#typing-provide-inject) that add boilerplate and in the end force you...
Please include some motivation behind this feature in the PR's description.
The motivation mentions that today it's tedious to access such actors in React but it doesn't show how this PR solves that. Could you include before/after comparison?
I think this particular design doesn't fit XState well. When you subscribe to an actor you are subscribed to its snapshot values but here, when subscribing to the system, you...
The proposed implementation of `useSystemActorRef` shows how you are trying to create an implicit relationship between those events and the actor's existence in the system. I think a better design...