Evan Almloff

Results 533 comments of Evan Almloff

I think the fix here is to just bubble up those errors with `?` instead of unwrapping them. Some errors with incorrect requests are expected, but we shouldn't panic if...

There is a css_module macro that generates random typesafe classes [here](https://github.com/DioxusLabs/dioxus/blob/1d2dec11011d581e1e756d4b879004415958c85c/packages/manganis/manganis-macro/src/lib.rs#L186) which is currently hidden from the documentation because the CSS parsing is unreliable

> I don't think writing our own css parser a good idea Yes, the custom CSS parser is the reason it is unreliable and something that would need to be...

> How would this look? I am not familiar with the internals of the cli. I know it basically is it's own build tool that wraps cargo at a few...

> It would additionally be nice to print stdout/stderr when the command fails so that we get a debuggable error message. But I'm not sure what the idiomatic way to...

The reason those examples behave differently is the key attribute only effects rendering inside of fragments. Outside of fragments (loops) the key attribute is ignored. 2, 3, and 4 desugar...

> This leads to my main question: **What is the idiomatic or recommended pattern for resetting a component's internal state when its props change?** Is the `{ rsx! { Component...

This would be nice to support. If we do support multiple data formats, the encoder trait should be generic over the type that can be encoded/decoded instead of always using...

I agree, the signal to noise ratio of warnings need to be higher. I think that is more due do the nature of the things we are trying to warn...

> Is that behavior in 0.6.3? Yes, I think it was added before the 0.6 release