Store component generating react warnings

Just doing the very bare minimum with no callbacks results in the following warning/console error:

app.layout = html.Div(dcc.Store(id='session', storage_type='session'))
react-dom@16.v1_4_1m1589388819.13.0.js:82 Warning: Cannot update a component from inside the function body of a different component.
    in n (created by CheckedComponent)
    in CheckedComponent (created by TreeContainer)
    in UnconnectedComponentErrorBoundary (created by withRadiumContexts(UnconnectedComponentErrorBoundary))
    in withRadiumContexts(UnconnectedComponentErrorBoundary) (created by ConnectFunction)
    in ConnectFunction (created by TreeContainer)
    in TreeContainer (created by ConnectFunction)
    in ConnectFunction (created by UnconnectedContainer)
    in div (created by UnconnectedGlobalErrorContainer)
    in div (created by GlobalErrorOverlay)
    in div (created by GlobalErrorOverlay)
    in GlobalErrorOverlay (created by DebugMenu)
    in div (created by DebugMenu)
    in DebugMenu (created by UnconnectedGlobalErrorContainer)
    in div (created by UnconnectedGlobalErrorContainer)
    in UnconnectedGlobalErrorContainer (created by withRadiumContexts(UnconnectedGlobalErrorContainer))
    in withRadiumContexts(UnconnectedGlobalErrorContainer) (created by ConnectFunction)
    in ConnectFunction (created by UnconnectedContainer)
    in UnconnectedContainer (created by ConnectFunction)
    in ConnectFunction (created by UnconnectedAppContainer)
    in UnconnectedAppContainer (created by ConnectFunction)
    in ConnectFunction (created by AppProvider)
    in Provider (created by AppProvider)
    in AppProvider

This occurs for the session and local types, but not for memory.
Beginner to Dash so I’m not sure if I am using Store correctly, but everything is working fine in my app, just that the Store component produces this error. This is using the latest dash 1.12.0 version.

Does anybody else encounter this? Any advice in the right direction would be much appreciated.

Hey,

I’m facing the same issue.
However, this only seems to occur (in my case at least) when the session is not set (e.g. on further page loads, there is no warning in the console).

@simon27 Thanks for the hint. After closing the browser tab and reopening, and then refreshing the tab once, the Warning is gone.

Am struggling with this again. If i setstorage_type=“memory” inside dcc.Store(), The warning is always there! @chriddyp, do you know what’s going on here under the hood?