Loading state argument in dcc.Loading

Can anyone explain the usage of loading_state argument of dcc.Loading? The potential use case is not clear from the documentation (at least to me).

I have a rather simple layout: data table inside loading component and a callback function on table’s selected_cells property. The callback updates table’s style_data_conditional property. Every time I click on a cell, a spinner appears. I would actually like not to have a spinner in this case. Can I achieve this with loading_state?

There’s no usage for this prop for the user. This prop is provided by Dash to tell the component whether it is loading or not. It’s only potentially useful for a component developer.

That being said, what you are suggesting sounds like an interesting addition to what’s supported right now. Opened an issue for it.