-
Notifications
You must be signed in to change notification settings - Fork 76
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
v2 not as expected on react StrictMode? #82
Comments
Your are right.. this is very stange; if you will copy and paste the example and replace the code of 'simple example' with this code at will work |
Hey, I've played around with the code a bit, but I'm not quite sure what you're asking. I've copied/pasted various parts and I still get the same error. Can you paste an example? |
see |
whatt i have no idea why, but |
Yeah that seemed to be the fix. Thanks!
|
Open. This should be fixed |
related |
Describe the bug & Expected behavior
After creating a new project and installing the newest version (2.0.0), the examples do not run, quoting an error: "Uncaught Error: 'Xwrapper' is required around element using 'useXarrow' hook! wrap your xarrows and connected elements with Xwrapper! "
To Reproduce
All I did was create a new project, install the libraries (react-xarrows and react-draggable) and copy/paste the example code.
I did this in CodeSandbox as well: CodeSandbox
Screenshots
Link to Error
The text was updated successfully, but these errors were encountered: