What is the best way to differentiate between a loading and a no data state?
I was wondering how people solve this trivial problem. Let's say you want to show a graph after getting the data from the network call. The graph should show a loading state while the data has not arrived, should show the graph if the data has arrived and if the arrived data is empty show a no data state.