-
Notifications
You must be signed in to change notification settings - Fork 268
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
Error after updating to the latest version #233
Comments
Hi @TomlDev, Can you post the reproduction case for this please? At what point are you seeing this? |
This is the full stracktrace:
Do you still need production code? Is it perhaps because of outdated react-dom module? UPDATE: Hmm okay, I updated react-dom from 16.8.4 to 16.9.0 but the error persists.. This is my code: DeviceTopology.tsx
DeviceTopologyNodeLabel.tsx
|
The error was not giving any clues. Before we were destructuring everything at the root of responseData which also included keys like metadata which react-d3-tree doesn't need at all. Got it fixed, was problem on my side, thanks. |
Yeah my original assumption was that you had an issue with the TS compiler after I updated the definitions (since that's all that changed), but since this seems to be a runtime error it can't be that. I realise that the minified-by-default situation is annoying (one of multiple regrets I have after-the-fact for v1). With the limited time I can still spend on this repo I'm considering shipping a v2 with only the most essential breaking changes (update legacy react code, migrate to TS for proper typing across the board, provide unminifed |
@bkrem, I get this error after updating to the latest version:
Originally posted by @TomlDev in #231 (comment)
The text was updated successfully, but these errors were encountered: