David Khourshid
David Khourshid
This works as expected in `xstate@alpha` (same code)
@with-heart Can we re-target this for v5? (`next` branch)
This PR would be greatly appreciated for XState v5 🥺 🙏
Let me know if I can help out on this as well!
Made a quick (qwik?) semi-proof-of-concept: https://stackblitz.com/edit/qwik-starter-rknyow?file=src%2Froutes%2Fxstate%2Findex.tsx Just posting here for reference. Still need to figure out the interpreter part (to run effects)
> I would love to see official integration here! Last time I tried in earnest, it was pretty difficult to do this. I might just need to get more used...
Yes, this is becoming a native feature: https://www.youtube.com/watch?v=JCJUPJ_zDQ4
If you specify the type, you'll see that the event is not allowed: ```ts actions: sendTo(({ system }) => system.get('childMachine') as ActorRefFrom, ({ type: 'notify', data: 'error', })), ``` In...
> @Andarist is there any workaround for this? Do you know if it's possible to disable `exactOptionalPropertyTypes` for a specific file? I updated XState and TypeScript in this codebase and...
> Facing similar issue. Will really appreciate if any workaround is available. Thanks for your time and effort Can you share the code that's causing the issue for you?