Render dynamic data
I have an API requesting some data, i send the data through props to another function(Table) in a different file. I get the <thead> columns but the <td> doesn't render. When I log out the data its getting passed through at the time of execution inside of the mappings but just doesn't render. My guess is on the final render the data isn't accesible by the table so it doesn't render but I'm not sure. If I use a non state variable and pass it to the <Table/> it works fine however. Anyone know what's happening, and how to solve it?
0 Replies