Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XState issue: managing data and context gets tricky #22

Open
RoyalIcing opened this issue Sep 21, 2021 · 0 comments
Open

XState issue: managing data and context gets tricky #22

RoyalIcing opened this issue Sep 21, 2021 · 0 comments

Comments

@RoyalIcing
Copy link
Contributor

https://twitter.com/_jonesian/status/1440101111684165632

my biggest challenge is with data dependencies inside of context. like do i assume the data is there in the initial context or do i have an idle state in each of my machines with an initialize method to report the data.
it’s challenging with typescript when everything can possibly be undefined. then using those machines in react becomes challenging because you can’t pass undefined to a hook. so maybe i’m answering my question here haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant