Skip to main content

Data Persistance

You can easily persist your data to a user's browser Session Storage and soon any other long term storage.

/core/index.ts
import { state } from '@plexusjs/core'
export const core = {
user: {
name: state('default_username').persist('username'),
},
}

export default core