-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
[5.3.1] [Bug] importing anything from the library results in error - Keys is not a function #265
Comments
Anyone who can help here? |
I tried to upgrade from 5.2.8 to 5.3.1 and getting this error at the moment, flow diagram is not rendering. |
@AykutSarac @himanshu-1034 I'll take a look. Now I can reproduce it: |
Library is unusable at the moment, is there a progress? |
@AykutSarac - Is it just related to NextJS or is this with anything? |
I only tried on NextJS, but since OP didn't mention it I think that's a problem in general with React. |
I tried your code box sample on the latest versions of different browsers (Chrome, Safari, Edge, Firefox) but couldn't reproduce it. ![]() There is my sample on NextJS also working. ![]() @AykutSarac Can you give me more detail about your environment? |
That's the project: https://github.com/AykutSarac/jsoncrack.com |
@AykutSarac The fix of the issue was released in v5.3.4. |
It seems to be resolved, thank you! |
Fixed with reaviz/reakeys#35 |
I'm submitting a...
Current behavior
Issue occurs as soon as you import anything from library version 5.3.1

Expected behavior
Normally, the error should not come. So far we were using version 5.1.0 which did not cause any issue with our project. recently there was a requirement which could be easily resolved by a function exposed in latest version of this library (fitNodes) but due to this error we cannot upgrade the library.
Any help provided will be appreciated
Minimal reproduction of the problem with instructions
Step 1 -> Setup a react project with following library versions ->
Step 2 -> Install [email protected] and simply import Canvas component exposed by this library.
Step 3 -> Run the server and you will see an error on console
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: