profile
viewpoint

Ask questionsmeta id showing up as (machine) instead of the id.

Description getting "(machine)" instead of the machine's actual id when accessing a state meta.

Expected Result age.type email.type

Actual Result (machine).type (machine).type

Reproduction See console log(line 75): https://codesandbox.io/s/autumn-glade-t7p4l?file=/src/index.js:1543-1545

Additional Context I'm using xstate/react, codesandbox was an example for an enhancement request

davidkpiano/xstate

Answer questions cybervaldez

Turns out to be an issue on my part as i've destructured the id parameter InputMachine({ id })

useful!

Related questions

[Feature] Spawning Actors hot 1
source:https://uonfu.com/
Github User Rank List