Skip to content

Version 3

Latest
Compare
Choose a tag to compare
@sametweb sametweb released this 28 Dec 09:01
· 4 commits to master since this release
10dbf33

This version is a major upgrade that removes some parts of the library and introduces some breaking changes.

  1. Global state management is removed. You are responsible for your own state management now.
  2. Step component is removed. Direct siblings of Steps component will be treated as a new step.
  3. StepsProvider should wrap the component that renders Steps component. For example, if Steps component is rendered in App component, and App is rendered in index.js file, <App/> should be wrapped with StepsProvider in index.js file.
  4. Methods and properties such as next, prev, isFirst, isLast should be accessed using useSteps hook.

For more details, please check the documentation.