DioxusLabs / DioxusLabs/dioxus

Protected/Conditional Routes

Open
#1,728 3 comments 3 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.