storybookjs / addon-onboarding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Project - Onboarding]: Evaluate and decide which state management library to use (native React Context, recoil, redux,...)

valentinpalkovic opened this issue · comments

Description

The steps in the onboarding flow are very linear and require state and state manipulation across its lifecycle. Figure out whether we need a complex state management library or React Context, or any other "native" solution is enough.

Requirements

  • the state is easily manipulatable and accessible throughout the whole application
  • the state can be recovered from local storage

Acceptance criteria

  • Decide which state management library should be used
  • Document the decision in the tracking ticket of this project

React Context should be perfectly fine for this task. We don't have many states, and introducing an external state management library isn't worth it.