Martin Kavík

Results 228 comments of Martin Kavík

> Any updates on this? See https://github.com/DeMille/wasm-glue/issues/3 and https://github.com/rust-lang/rust/issues/31343#issuecomment-812636785. So I've implemented custom [println & eprintln](https://github.com/MoonZoon/MoonZoon/blob/f423a2de1d3aa56426d0a0d8339b5a4a8dc1018c/crates/zoon/src/console.rs) in MoonZoon. This way you get at least a compilation error when those custom...

Counter-arguments: - `send` `send_msg` - `send` may be confusing - Send msg? Send request? Send notification? - `async_send` `perform_cmd` - You don't have to send anything - handler can return...

> I'm not sure what you trying to say here. would you elaborate on this. You can modify cmd / stream after the creation - `.stream(streams::interval(1000, || Msg::OnTick).do_something());` - but...

> One could e.g. develop shared crates like a super-awesome-vdom or so. There is [gloo](https://github.com/rustwasm/gloo). Both `Seed` and `Yew` use it under the hood. But it's pretty difficult to have...

@hwchen's feedback (https://github.com/seed-rs/seed/issues/111#issuecomment-557940501): I'm a backend dev exploring Rust front-end frameworks. Of course, one of the first things I tried to do was make a component :). But reading through...

@nielsle Thanks! @David-OConnor Could you fix it once you have some time?

What takes the most of time during the render? `view` function logic? `Node` allocations? Or VDOM diff? Or DOM patching? Or something else / mix? I think Elm optimizations are...

Once you want to optimize benchmark `create many rows` (and probably also `create rows` or `append rows`) - look at my old investigation: https://github.com/initcrash/seed-quickstart/pull/1

Experiment inspired by Html.Lazy - https://gist.github.com/MartinKavik/678ad94e8a71dcea439c10a9f63387d9. All `view` function arguments are read as bytes and hashed. Function bodies are executed only when the arguments haven't been hashed yet or their...

> Since I come from Angular, I can only say that Shadow DOM ( I thought it was Virtual Dom but no, damn it I am rusty 😳 ) is...