localStorage, use the action Save to Local Storage, and assign your variable a name. To use the data from it, use
varNameis the name of the variable used in the action.
localStorageusage on a simple example. We will add a text area component and save a draft of the message so that it's not lost upon a page refresh or when a user closes the app.
localStoragevariable to the Value filed of the text:
statevariable can be used as a temporary storage while the users are interacting with your app and it doesn't need to be saved to your datasource immediately.
statevariable is reset to the initial value on a page refresh or when the app is closed.
statevariable is persistent per single page only.
statevariable, follow these steps: