Evan Almloff

Results 533 comments of Evan Almloff

The new templates support multiple platforms at once

The majority of methods for `Signal` are implemented on the [`Readable`](https://docs.rs/dioxus/0.5.1/dioxus/prelude/trait.Readable.html) and [`Writable`](https://docs.rs/dioxus/0.5.1/dioxus/prelude/trait.Writable.html) trait. One of the methods on the Readable trait is `cloned` which clones the value out of...

The docs were improved in https://github.com/DioxusLabs/dioxus/pull/2460 to reference the readable and writable traits and include more examples

Fixed in https://github.com/DioxusLabs/dioxus/pull/2488

The Javascript interpreter is largely generated by sledgehammer so even the unminified version is not super easy to debug. I would recommend trying to minify the problem first and then...

The linked repo no longer uses dioxus and there is no reproduction of this issue. We have fixed several diffing bugs in the main branch of dioxus that may have...

Note there is a difference between rerendering a component and rerendering an element. An element should only be recreated when you switch to a new rsx block. If you rerun...

Here is a smaller reproduction of the issue: ```rust #![allow(non_snake_case)] use dioxus::prelude::*; fn main() { launch(app) } fn app() -> Element { let mut count = use_signal(|| 0); let memorized...

> > `Memo` is recomputing the value when you read the memo inside the effect. > > Why is recomputing the value necessary at that point? Memos use a push/pull...

> Interesting, thank you for elaborating. > > What happens if multiple observers read from the memo? I assume the value is recalculated on the first read, and the dirty...