19 Jun 2022 |
WorldSEnder#8649 | * I don't intend to. It might need some additional changes with Deref/DerefMut and it's too closely tied to the html! macro. Maybe later, there are still open (syntax mostly) questions about prop inheritance to be decided. I'm fine with merging it as is, to improve error messages and laying the ground work | 17:45:39 |
Yuu#6737 | Simon how did you intend to do this: https://github.com/yewstack/yew/commit/1c2dff18b10fd2dc03022095f655684d412ef6ab#diff-008e07fdaf96156f44366b20bf8be6e194a8f8c3898e5f240995d8ba1ce6912bR207-R208 I can't think of a way to panic with a specific span | 20:07:11 |
siku2#0001 | The idea was just to include the file name and line number | 20:09:19 |
Yuu#6737 | oh so like dbg!() ? | 20:09:35 |
siku2#0001 | Basically | 20:09:52 |
20 Jun 2022 |
Spanishpear | hamza1311 random question, is there any reason why yew playground is using a forked rust-monaco rather than the upstream? I have been looking at using the upstream for my project, is there something wrong with it? | 02:33:04 |
| Nojipiz joined the room. | 17:37:12 |
| Tobeqz joined the room. | 19:20:30 |
21 Jun 2022 |
| Chiru B joined the room. | 17:15:34 |
22 Jun 2022 |
| JakeFromStateFarm#1552 changed their display name from JakeFromStateFarm to JakeFromStateFarm#1552. | 21:14:20 |
23 Jun 2022 |
futursolo#2051 | Could someone please review https://github.com/yewstack/yew/pull/2697 ? This pull request also increases MSRV to 1.60 which fixes the CI. | 10:26:25 |
WorldSEnder#8649 | will try to find enough time for it over the weekend 🙂 | 16:01:20 |
| Nuzz changed their display name from Nuzz to Nuzz#0202. | 20:29:59 |
| Nuzz changed their display name from Nuzz#0202 to Nuzz. | 20:30:09 |
24 Jun 2022 |
Yuu#6737 | because i use master yew and upstream rust-monaco is for crates.io version | 14:10:10 |
Yuu#6737 | WorldSEnder do you think you'll have the time to finish up https://github.com/yewstack/yew/pull/2551 anytime soon? I was waiting for you to resolve the futursolo's review. If nothing needs to be changed, I can review it this weekend | 17:22:54 |
25 Jun 2022 |
Spanishpear | is there plans for a tracking issue for v0.20? | 00:34:54 |
| hns joined the room. | 11:28:51 |
| DrRuhe joined the room. | 14:19:20 |
| Matan joined the room. | 19:18:55 |
Matan | Is there a way to build Html from template fields? For example, I want to allow for easy form creation but allow callers to build each form from whatever input component they want (this doesn't compile):
#[function_component(CustomForm)]
pub fn custom_form<InputComponentT>() -> Html {
html! {
<form onsubmit={onsubmit}>
<InputComponentT name="username" />
<InputComponentT name="email" />
</form>
}
} | 19:18:56 |
| Emilia joined the room. | 19:28:26 |
aftix | Pass the members of the form as children? | 21:01:54 |
26 Jun 2022 |
Matan | Thanks for the suggestion. I guess this means that the caller would need to pass Html objects as opposed to just passing in the type they want build? So the interface would have to change to:
#[function_component(CustomForm)]
pub fn custom_form(inputs: Children) -> Html {
html! {
<form onsubmit={onsubmit}>
{ for inputs.iter() }
</form>
}
} | 05:57:20 |
| Lux joined the room. | 09:03:41 |
WorldSEnder#8649 | the big problem is fulfilling the "if you don't use it, there's no cost in code size". I still don't have a viable approach for that | 13:01:59 |
WorldSEnder#8649 | Opened a tracking issue. https://github.com/yewstack/yew/issues/2753 | 13:14:32 |
| TakeYourTime joined the room. | 18:25:49 |
27 Jun 2022 |
| Nano#2724 changed their display name from Nano to Nano#2724. | 00:09:26 |
29 Jun 2022 |
Spanishpear | Redacted or Malformed Event | 10:52:12 |