Evan Almloff

Results 533 comments of Evan Almloff

I aggree, running a desktop binary with `cargo run` should make things more consistent. I ran into some inconsistencies in https://github.com/DioxusLabs/dioxus/pull/1369 as well. The current working directory of `cargo run`...

Here is another reproduction without tokio. Unfortunately MIRI isn't finding anything anything specific suspicious: ```rust #![allow(non_snake_case)] use std::future::Future; use std::sync::{Mutex, OnceLock}; use std::task::{Context, Waker}; use dioxus::prelude::dioxus_core::NoOpMutations; use dioxus::prelude::*; use futures::pin_mut;...

Async closures are still unstable and can only be used in the nightly edition of rust. Dioxus could accept async closures, but all of the async closure logic would need...

Hydration is failing because `https://dioxuslabs.com/learn/0.5/getting_started/liveview/` doesn't exist in the latest version of the docsite. It might be in an older version of the 0.5 docs. I think https://github.com/DioxusLabs/docsite/pull/277 will fix...

We could pull all of this information from the .gguf file. For example, the [llama 8b chat](https://github.com/floneum/floneum/blob/3d7460268c5a3422e377cde63428ca33656e5e80/models/kalosm-llama/src/source.rs#L491-L505) model defines the .gguf link, tokenizer and chat format, but if you look...

That issue was fixed in https://github.com/DioxusLabs/dioxus/pull/1925 and released in the dioxus 0.5 pre release. You can update your dioxus version or work around the issue by either: - Running with...

Instead of making this error screen nicer, could we just avoid it entirely by waiting until the proxy responds before sending the reload message to `/_dioxus/build_status`?

> So... that'd work, but it would presumably not work on startup – only on reload, right? As in... if you started `dx serve --fullstack` and then opened the browser......

You can call `FullstackContext::commit_error_status` inside of a hook in the PageNotFound component with an error that has the 404 status code like a CapturedError created from a `http::StatusCode`

If you run into this issue again, it would be helpful to see what the network state and console looks like from inside the webview. Dioxus 0.7 switched to a...