rememberStorytellerCardState

Remembers a StorytellerCardState instance across recompositions for use with Storyteller Card components. This state holder manages the reload state and provides methods for reloading card data. For more details on using Storyteller Card components and their states, see the Cards Documentation.

Return

A remembered instance of StorytellerCardState.

Parameters

key

An optional key to cause recomposition and re-remembering of the state if the key changes.