Evan Almloff

Results 533 comments of Evan Almloff

I've been thinking about this some more. - We could use the same way of defining custom components proposed here, but transform it to the current form (turning ::'s into...

Or here is a solution that could work for all of the above: The rsx macro expands this code: ```rust rsx! { div { name: "{my_class}" } } ``` To:...

![Untitled-2022-09-24-1015](https://user-images.githubusercontent.com/66571940/192107308-7b53fff4-cbce-4836-acc0-00310c3741cd.svg)

Everything appears to work. 🎉 I checked all the examples, and they work correctly. Ssr, tui, liveview, web, desktop, and hot-reloading all seem to work. I don't love the way...

> Any reason why you didn't simply create or use a utf16 crate such as `utf16string`? > > Granted, the non-web platforms use utf8 but could that difference be resolved...

> Somewhat terse response...I presume you are saying that converting from utf8 to utf16 and vice versa within Javascript is sufficiently performant. However, though that may be the case and...

We cannot create an event that is identical to the event triggered by the browser. Events that are triggered by a user are [trusted](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted). Events that are modified by javascript...

> I'd like a way to easily call `HTMLElement.focus()`. You can now do this with the onmounted event!

This is now documented [here](file:///C:/Users/Desktop/github/dioxus/docs/nightly/guide/en/describing_ui/component_props.html#default-props)

> Do you need any help resolving conflicts here? I've copied over the changes to a up to date branch. I just need to update some things that changed with...