Closed
Description
I am trying to style my graph with a loading animation when there is no data in my component's props yet.
Here is a gist with what my code looks like: https://gist.github.com/zachschultz/b3e7261cd774d0c54b21c2100381c6fb
UPDATE: Adding a console.log statement into the div makes this magically work...still have no idea why.
Essentially, if the graph data doesn't exist, I want to show a Plotly graph that will be grayed out with a spinning loading logo on it. However, this isn't working, and when my graph data comes in the graph itself doesn't re-render with data, it just stays blank.
I know for a fact the data is there and that the graph data state is being updated as well, so I'm really not sure what is going wrong here.
Metadata
Metadata
Assignees
Labels
No labels