Singh
Singh

Reputation: 207

Reactjs Wizard Form

There are multiple cards present on the page. On click of every card, I want to navigate it to the wizard form from where the user has left before. How it can be done?

Upvotes: 0

Views: 143

Answers (1)

artfulbeest
artfulbeest

Reputation: 1483

You should find a way to persist the state of closed card for that user.

  1. You can use localStorage to persist the card state when card is closed and not complete
  2. Cache card state in the backend and retrieve it on card mount.

In both cases, you need to decide when to invalidate the cached data.

Hope it helps

Upvotes: 1

Related Questions