localStorage
is a permanent browser storage, which is available across all browser tabs of your application and after the page refresh. You can find more details about it here.localStorage
, use the action Save to Local Storage, and assign your variable a name. To use the data from it, use {{localStorage.varName}}
, where varName
is the name of the variable used in the action.localStorage
usage 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.localStorage
variable to the Value filed of the text:state
variable 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. state
variable is reset to the initial value on a page refresh or when the app is closed. state
variable is persistent per single page only.state
variable, follow these steps: