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

feat: add actions param to createWizard, accepts navigate function #17

Merged
merged 6 commits into from
May 3, 2022

Conversation

HipsterBrown
Copy link
Owner

@HipsterBrown HipsterBrown commented May 3, 2022

This PR supersedes #12 and uses more up-to-date versions of react-router while using the same updates to the core robo-wizard package.

The react-router example code shows how an official integration could be created with the WizardProvider and Step components and useWizardContext hook. Much of the API surface reflects the underlying react-router v6 usage.

TODO:

  • enable syncing with the current location after using browser actions (back/forward buttons)
  • add HTML example
  • update tests

image

@HipsterBrown HipsterBrown marked this pull request as ready for review May 3, 2022 21:56
@HipsterBrown HipsterBrown merged commit 0f086c3 into main May 3, 2022
@HipsterBrown HipsterBrown deleted the navigate branch May 3, 2022 21:58
@github-actions
Copy link

github-actions bot commented May 5, 2022

🎉 This PR is included in version 1.0.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant