damianricobelli / stepperize

A library for creating step-by-step workflows in your apps
https://stepperize.vercel.app
916 stars 40 forks source link

Shared context between steps #14

Closed blissfulldev closed 2 months ago

blissfulldev commented 4 months ago

Hi @damianricobelli this is really nice component you have created. I was wondering if it will be a good idea to share state between different steps using stepper context out of the box. I believe that in many of the use case next step will be dependent on the action performed by previous steps hence sharing of previous step data.

damianricobelli commented 2 months ago

I am closing this issue as you will be able to solve this through the new @stepperize/react library, which allows you to send metadata and persist whatever you need!