render component reactjs while fetching complete code example Example: react how to block render if data is not fetched yet df = df_unindexed.set_index(['Fruit', 'Color']) df