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-react: Uncaught TypeError: Cannot read property 'toObserver' of undefined #1948

Closed
dimitardanailov opened this issue Feb 18, 2021 · 1 comment · Fixed by #1950
Closed

Comments

@dimitardanailov
Copy link
Contributor

dimitardanailov commented Feb 18, 2021

Description

I've been working on legacy project. The project uses angularjs two months ago: My team successfully implemented React, Xstate and Xstate and React. The project doesn't have a build tool. My team uses direct import example:

<script crossorigin src="https://unpkg.com/xstate@4/dist/xstate.js"></script>
<script crossorigin src="https://unpkg.com/@xstate/react/dist/xstate-react.umd.min.js"></script>

Versions are:

The error output is:
Screenshot 2021-02-18 at 22 51 15

These pull request can be helpful source of true:
https://github.com/davidkpiano/xstate/pulls?q=is%3Apr+author%3Adimitardanailov+is%3Aclosed

@dimitardanailov
Copy link
Contributor Author

@davidkpiano and @Andarist

Thank you very much for the fast response. The issue is fixed !!!

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

Successfully merging a pull request may close this issue.

2 participants