David Khourshid

Results 456 comments of David Khourshid

You were never able to do this, including in XState v4: ```ts addNumBad: ({ context }) => { const nums = new Set(Array.from(context.nums)); nums.add(Math.round(Math.random() * 5000)); console.log("addNumBad", ...Array.from(context.nums)); // This...

Sorry, can you clarify which lines are the lines where the behavior of `@xstate/react` changed?

> For what it's worth, I think that makes sense and was a good decision for v5. Realistically, do you mind dropping a note in the migration guide that xstate...

> > > I think a new beta release of xstate inspect is required. > > > > > > Yes, this. v5 is a work in progress though and...

> WIP is happening here: #4082 Thanks! This is very close to being merged in. Just needs some cleanup and the @Andarist stamp of approval.

> > WIP is happening here: #4082 > > Looks like it doesn't work with the current official v5 :( Still experimental, but I recommend using `@statelyai/inspect` instead, which works...

> I tried with @statelyai/inspect > But it just open a new tab with src: `https://stately.ai/inspect`. > > And it shows "404 Page Not Found". > > So I assume...

We will be removing the login for the inspector soon.

Closing as this should now work as expected with `@statelyai/inspect`: https://github.com/statelyai/inspect

> Hi there, > > I have the same problem. Is there a temp solution? Typescript also don't like it very much. :) > > `TS2339: Property  context  does not...