Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepper: Deprecate useSteps and create initialize #98824

Closed
escapemanuele opened this issue Jan 23, 2025 · 1 comment
Closed

Stepper: Deprecate useSteps and create initialize #98824

escapemanuele opened this issue Jan 23, 2025 · 1 comment

Comments

@escapemanuele
Copy link
Contributor

Details

Let's add a new method to Stepper framework API called initialize . This method is an asynchronous method that is called once per flow to boot the flow. It should do any prep actions (fetch experiments, assert conditions, redirect to other flows, etc...), and most importantly return the steps.

This also deprecated the useSteps hook because it has a few flaws.

Checklist

No response

Related

No response

@escapemanuele
Copy link
Contributor Author

Closed with #97999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant