You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[component]fnBlog(id:Option<i32>) -> Element{rsx!{Link{ to:Route::Home{},"Go to counter"}if id.is_some(){"Blog post {id.unwrap()}"} else {"Blog post NONE"}}}
But this fails to compile if the component takes an ReadOnlySignal<Option<i32>> and requires some workarounds.
@ealmloff said the issue is the title of this issue
Environment:
Dioxus version: main
App platform: web
The text was updated successfully, but these errors were encountered:
ealmloff
added
core
relating to the core implementation of the virtualdom
tweak
Small changes to improve experience
labels
Jul 19, 2024
Problem
https://discord.com/channels/899851952891002890/1228376558188761169/1263709761594200084
In a Route enum:
Works with this component:
But this fails to compile if the component takes an
ReadOnlySignal<Option<i32>>
and requires some workarounds.@ealmloff said the issue is the title of this issue
Environment:
The text was updated successfully, but these errors were encountered: