React Step FormGuides and Concepts
React Step FormGuides and Concepts
Persistence
Save and restore wizard state with storage.
Persist values across refreshes or route changes with localStorage or
sessionStorage.
Enable persistence
<FormWizard
schema={schema}
steps={steps}
onSubmit={handleSubmit}
persist="localStorage"
persistKey="signup-form"
/>Behavior
- Stored values are hydrated before the first render.
- Storage writes happen only when serialized values change.
- Use a custom
persistKeyto isolate multiple forms on the same domain.