You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
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 ->
React@18
React-dom@18
React-scripts@5
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
Libs:
- react version: 18.0.0
- react-dom: 18.0.0
- react-scripts: 5.0.0
- reaflow: 5.3.1
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
- [ x] All Browsers
For Tooling issues:
- Node version: have tried with v15, v18, v22
- Platform: Mac
- IDE: VS code and Codesandbox env as well
Others:
The text was updated successfully, but these errors were encountered:
himanshu-1034
changed the title
[5.3.1] [Bug] importing anything from the library results in error - Keys is not defined
[5.3.1] [Bug] importing anything from the library results in error - Keys is not a function
Nov 26, 2024
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: