Uncaught TypeError: object null is not iterable
Describe the bug When the data gets reloaded, I get the following error: Uncaught TypeError: object null is not iterable
To Reproduce Steps to reproduce the behavior:
- Load react-force-graph-2d component
- Change data in graphData
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Linuch
- Browser [e.g. chrome, safari] Vivaldi / Chromium
- Version [e.g. 22] Newest
Additional context Add any other context about the problem here. Next.js + TRPC
Full code: https://github.com/mbledkowski/interwebs Sorry for spaghetti code, it is work in progress
Seems, I have the same problem: https://github.com/vasturiano/react-force-graph/issues/540
@mbledkowski, did u figure this out?
From what I remember, I worked around that, but the issue is still present.