Local Manager (persistent settings)
Learn when Local Manager is the right persistence layer for Wappler UI state, and how to store settings that should survive reloads without going to the server.
Local Manager
This tour positions Local Manager as client-side persistence for everyday UX settings. You will look at what kinds of data belong here, how Wappler reads and writes those values in bindings and actions, and where the limits and security boundaries are.
When local storage is the right choice
You are not just learning that local storage persists data. You are learning the decision rule: use it for convenience settings and cached UI preferences that should remain on the same browser, but never for secrets or security-sensitive state.
Objects are supported
Local Manager can store complex objects; they’re serialized/deserialized automatically.
important: Local storage is readable by client-side code. Don’t store secrets or tokens here.
Core workflow
Bind UI to local values, and update them on events.
Write local state
Use local.set(key, value) to persist a setting, and local.remove/removeAll to reset.
Read local state in bindings
Use local.key in expressions to set classes, default values, and visibility.
Pattern: app settings form
Bind form controls to local values and save changes with a single submit action.
Wrap-up
Next, decide whether your state belongs in local/session/cookie or in the URL.
Next steps
Pick a related tour to continue.