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
It seems like the React Table doesn't wait if an API has finished fetching the data from an end-point. That means the array from an end-point takes a bit of time to download and React Table doesn't get the chance to retrieve it, therefore it throws an error.
I get the typical error that says this: TypeError: Cannot read properties of undefined (reading 'forEach')
Any idea how to make sure the React Table can wait for the fetching to be finished?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like the React Table doesn't wait if an API has finished fetching the data from an end-point. That means the array from an end-point takes a bit of time to download and React Table doesn't get the chance to retrieve it, therefore it throws an error.
I get the typical error that says this:
TypeError: Cannot read properties of undefined (reading 'forEach')
Any idea how to make sure the React Table can wait for the fetching to be finished?
Beta Was this translation helpful? Give feedback.
All reactions