This version is a major upgrade that removes some parts of the library and introduces some breaking changes.
- Global state management is removed. You are responsible for your own state management now.
Step
component is removed. Direct siblings ofSteps
component will be treated as a new step.StepsProvider
should wrap the component that rendersSteps
component. For example, ifSteps
component is rendered inApp
component, andApp
is rendered inindex.js
file,<App/>
should be wrapped withStepsProvider
inindex.js
file.- Methods and properties such as
next
,prev
,isFirst
,isLast
should be accessed usinguseSteps
hook.
For more details, please check the documentation.