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

Add router state #115

Merged
merged 5 commits into from
Jan 16, 2022
Merged

Add router state #115

merged 5 commits into from
Jan 16, 2022

Conversation

arctic-hen7
Copy link
Member

This adds support for router state to Perseus, including a new example in examples/showcase/ and documentation in the section on templates. It's likely that the router state provided will be extended in future, but, for now, it includes just one property about the router's load state, which can be used to create custom routing progress bars and the like.

Closes #106.

Still need docs and a real-world example.
These occur because of code removal for Wasm, but they can confuse users
and make them think there's something wrong with Perseus, so they're now silenced.
@arctic-hen7
Copy link
Member Author

Also, some tests may fail, the latest Actix Web beta seems to be playing havoc in the dependency tree.

@arctic-hen7 arctic-hen7 merged commit 9ee6904 into main Jan 16, 2022
@arctic-hen7 arctic-hen7 deleted the feat-router-state branch January 16, 2022 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Router state
1 participant