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

Update drag-and-drop example #104

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Dissolutio
Copy link

Currently, as a user of this repo, if I clone the repo and run npm install and npm run within the examples/drag-and-drop/ directory, then the example app has some issues rendering. It is missing a package, and has a few bugs.

I have gotten it to work properly again locally, using React 18. Please review and see if example app works better for you now.

This package is required by current dependencies, and was causing the app not to render
This was causing an error in the console, because we have React 18 installed, but had not rolled over index.js to follow React 18 spec.
Error was as follows:
Cannot read properties of undefined (reading 'data')
    at GameLayout.onDragOver (GameLayout.js:45:1)
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

Successfully merging this pull request may close these issues.

1 participant