Evan Almloff

Results 533 comments of Evan Almloff

This doesn't seem too difficult to implement. We need to change from the context API [here](https://github.com/DioxusLabs/dioxus/blob/master/packages/signals/src/rt.rs#L14) to a [unsync::OnceCell](https://docs.rs/once_cell/latest/once_cell/unsync/struct.OnceCell.html) in a [thread local](https://doc.rust-lang.org/std/macro.thread_local.html)

> Would thread local be enough for multi window support? I can see how that would help with multi-vdom, but it seems to me like a separate shared thread would...

SSG is working with base hot reloading, but hot patching is broken because of https://github.com/DioxusLabs/dioxus/issues/4147

> We added support for multi-platform serve: > > ```shell > dx serve \ > @client --package dashboard \ > @server --package server > ``` > > How does this...

I couldn't find a good way to get the last argument working with subcommand, so I switched back to a string args. You can now do `dx serve @client --args...

This seems to be fixed on master. It just hasn't been released yet

New reproduction without keys. The original reproduction is invalid after #3936: ```rust use dioxus::prelude::*; fn main() {} #[derive(Clone, PartialEq, Eq)] struct TestOuter; impl TestOuter { fn borrow(&self) -> String {...

`use_hook` does not have dependency tracking. It is the core hook primitive without any state management systems built in. All hooks in dioxus_hooks (`use_signal`, `use_memo`, `use_resource`, etc) do have dependency...

> Haven't looked at the code, but do you think it's possible to have `external_asset` be just a flag on the regular asset builder options? No, there is a flag...

Another API we could support is this with the `#[used]` in user code: ```rust #[used] static _EXTERNAL_ASSET: Asset = asset!( "/66571940.jpeg", ImageAssetOptions::new() .into_asset_options() .with_hash_suffix(false) ); ```