Closed gbj closed 3 months ago
Resolves the need for both #2602 and the following to work:
#[component] pub fn App() -> impl IntoView { view! { <Router> <nav> <a href="/file/demo">This link matches</a><br/> <a href="/file/demo%2Ftest">"This link doesn't match"</a> </nav> <main> <Routes> <Route path="/" view=|| view!{ <h1>Home</h1> }/> <Route path="/file/:id" view=|| view!{<h1>File match!</h1>}/> <Route path="/*any" view=|| view! { <h1>Any</h1> }/> </Routes> </main> </Router> } }
Resolves the need for both #2602 and the following to work: