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

Multiple states for react-state-router #361

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

smebberson
Copy link
Member

This PR updates @idearium/react-state-router to support being passed an array in the when parameter so that one component can be displayed for multiple states.

This allows a view to show a loading state, while the machine invokes a service to load data.

Testing

These are the steps to demonstrate the solution being solved; they typically include steps to update the repository to a new state containing the code that fixes the problem.

  • A list of steps to demonstrate the problem.

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

Successfully merging this pull request may close these issues.

1 participant