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

Cannot store undefined in array #108

Open
codehz opened this issue Jun 17, 2023 · 0 comments
Open

Cannot store undefined in array #108

codehz opened this issue Jun 17, 2023 · 0 comments

Comments

@codehz
Copy link

codehz commented Jun 17, 2023

PoC:
add store.myArray.push(undefined); to the example (https://syncedstore.org/docs/basics/example) 's addElementBtn.onclick handler, and click the button
error:

/main.js: Cannot read properties of undefined (reading 'constructor') (20:16)
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