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

Experimenting errorr while trying to implement the example code #34

Open
Chimaytric opened this issue Dec 10, 2020 · 2 comments
Open

Experimenting errorr while trying to implement the example code #34

Chimaytric opened this issue Dec 10, 2020 · 2 comments

Comments

@Chimaytric
Copy link

Chimaytric commented Dec 10, 2020

When I try to implement the basic test scenario, I'm thrown at the following error :

Uncaught Error: Unable to find node on an unmounted component.
    at findHostInstanceWithWarning (react-dom.development.js:24281)
    at Object.findDOMNode (react-dom.development.js:24804)
    at BubbleChart.componentDidMount (react-bubble-chart-d3.js:52)
    at commitLifeCycles (react-dom.development.js:20663)
    at commitLayoutEffects (react-dom.development.js:23426)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3945)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994)
    at invokeGuardedCallback (react-dom.development.js:4056)
    at commitRootImpl (react-dom.development.js:23151)
    at unstable_runWithPriority (scheduler.development.js:646)
    at runWithPriority$1 (react-dom.development.js:11276)
    at commitRoot (react-dom.development.js:22990)
    at performSyncWorkOnRoot (react-dom.development.js:22329)
    at react-dom.development.js:11327
    at unstable_runWithPriority (scheduler.development.js:646)
    at runWithPriority$1 (react-dom.development.js:11276)
    at flushSyncCallbackQueueImpl (react-dom.development.js:11322)
    at flushSyncCallbackQueue (react-dom.development.js:11309)
    at discreteUpdates$1 (react-dom.development.js:22420)
    at discreteUpdates (react-dom.development.js:3756)
    at dispatchDiscreteEvent (react-dom.development.js:5889)

React version : 17.0.1
@weknow/react-bubble-chart-d3 version : 1.0.12

@GoncaloGarcia
Copy link

GoncaloGarcia commented Dec 15, 2020

Downgrade react to 16.13.1

@Chimaytric
Copy link
Author

Downgrade react to 16.13.1
It is not an ideal solution but it is good to know this lib isn't up to date.
I finally managed to get what I need with nivo chart library : https://nivo.rocks/bubble/

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

2 participants