Migrating to v5
Learn how to migrate from v4 to v5
Stepperize v5 adds a new metadata API to the useStepper hook
Breaking Changes
Name changes in the values returned by the hook
Now the parameters of useStepper are not a string indicating the initial step, but rather an object with the following values:
initialStepThe ID of the initial step to displayinitialMetadataThe initial metadata to set for the steps
New Features
New metadata API
The metadata API allows you to set dynamic metadata for each step.
Edit on GitHub
Last updated on