Evan Almloff

Results 533 comments of Evan Almloff

I would be fine with prepending the global variables dioxus injects into the window with `dioxus_`. We are forced to do something similar some places in rust macros. If you...

A platform agnostic wrapper around `onpaste` would be great. We could reuse [FileEngine](https://docs.rs/dioxus-html/0.4.3/dioxus_html/events/trait.FileEngine.html) for the file section of the event and store a list of enums for the items in...

`UnboundedSender` and `UnboundedReceiver` are re-expored because the [use_coroutine hook](https://docs.rs/dioxus-hooks/latest/dioxus_hooks/fn.use_coroutine.html) uses them in the public API. In dioxus desktop, you could use `tokio::sync::mpsc` without any issues. I think re-exporting the whole...

We could use the [dioxus server context](https://github.com/DioxusLabs/dioxus/blob/8149868ebc8610c4c2bc6fc41b50d9be4f4bfb40/packages/fullstack/src/server_context.rs#L11) which is a version of context provided to handlers that works with all backends

The simple routes example in the router package appears to work correctly in liveview. Do you have the `liveview` feature enabled in your `cargo.toml`? ```toml dioxus-router = { git =...

Ok, so the larger issue here is that prevent default is taken from the element that the event originated in, but not when bubbling the event. Here is a minimal...

Currently, they are not used in any non-web/fullstack renderers. We should provide a default name like we do with desktop apps if the user doesn't set a name

Dioxus doesn't read or modify your `Cargo.toml`. It uses cargo to build your project with the settings in your `Cargo.toml`. Do you see a change in binary size when building...

We use `option_env!()` to import some configuration by for desktop apps if you build with the CLI so that desktop settings like the window name are copied from the `dioxus.toml`....

> Is this code inserted in the resulting binary? Or is this code from the dx? Because including short strings shouldn't make such a noticeable difference in size. The JSON...