Elina

Results 255 comments of Elina

`gloo-utils` v0.1.5 has been released that provides an alternate (with identical behavior) to `JsValue::{from_serde,into_serde}` Thanks to @andoriyu for their contributions to make this happen.

I suggest you look at gloo. `gloo-utils::error::JsError` can be created from `JsValue` and it implements `std::error::Error` so it can be used by anyhow

Does [`unchecked_into`](https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen/trait.JsCast.html#method.unchecked_into) not solve your problem? You can do: ``` let foo: Foo = jsvalue.unchecked_into() ``` `dyn_into` also exists which performs runtime check. There's also `_ref` variants that can be...

Is there a reason you can't use f64 and later convert it to f32 (if really needed)

This is an issue with Yew which prevents us from having generic event handling. See https://github.com/yewstack/yew/issues/1533. Also see #9. I'd wrap the components in a span to get around this...

The underlying material components are currently going through a re-write. This crate uses [material-web](https://github.com/material-components/material-web/) components. There's functionality lacking in MWC components and at the moment, it doesn't make sense to...

It's a limitation of Yew right now. See https://github.com/yewstack/yew/issues/1533

You have to enable the required feature. I really should remove the feature locks as wasm bindgen just doesn't fetch what isn't used. Presumably because rustc just removes that code.

@santokalayil see [cargo features](https://doc.rust-lang.org/cargo/reference/features.html)

Enable the full feature