DioxusLabs / DioxusLabs/dioxus
Protected/Conditional Routes
Open
enhancement
router
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
Similar to Leptos it would be great if there was a way to put `Route`s behind a condition. If the condition (based on a simple function that can use all the same hooks as Elements) isn't true, the Route is redirected much like the `redirect` attribute.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.