Jens Reimann

Results 643 comments of Jens Reimann

Right, but when I need to use `Children`, I also need to implement the `IntoProp` trait … so I am back to the problem above. All in all, not a...

Using `VList` for children I indeed can iterate over it. But I can no longer use the `html` macro. Because the html macro will generate all kind of nodes, not...

Yea, but assume I have something like this: ``` html!( ) ``` If I want `Foo` to be aware of the number of children, using `VList`, then I need to...

I think one of the issues with the new approach is, that one needs to implement many ways now. Depending on the context. Assuming the following for example: ```enum Label...

Sure, something like this: ```rust #[derive(PartialEq, Properties] struct FooProperties { pub title: Option, } #[function_component(Foo)] fn foo(props: &FooProperties) -> Html { html!( if let Some(title) = &props.title { { title.clone...

@9SMTM6 many thanks for resolving this!

> is this meaning that we can use workspace with multiple crates to reduce the compilation time? You can already do that, assuming that workspace is an "all WASM" workspace....

I would add a new `--package` argument to the CLI. There will be another discrepancy, as that's a clap only field, should be skipped from serde I guess. And then,...

Trunk will "only" spawn `cargo`. With or without the `--release` flag. That's the only think that is available right now.

I just pushed a PR: https://github.com/trunk-rs/trunk/pull/779 … might need some work, but that's my proposal.