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
For rendering statically to an `.html` file or from a WebServer, then you'll want to make sure the `ssr` feature is enabled in the `dioxus` crate and use the `dioxus::ssr` API. We don't expect the SSR API to change drastically in the future.
If we use the `TITLE` atom in another component, we can cause updates to flow between components without calling render or diffing either component trees:
106
106
107
107
```rust
108
-
constReceiver:FC<()> =|cx, props|{
108
+
constReceiver:Component<()> =|cx, props|{
109
109
lettitle=use_signal(&cx, &TITLE);
110
110
log::info!("This will only be called once!");
111
111
rsx!(cx,
@@ -132,7 +132,7 @@ Dioxus automatically understands how to use your signals when mixed with iterato
0 commit comments