Elina
Elina
You need to clone the output of `ctx.link()` and move it into the closure passed to `request_animation_frame`
As you've correctly described that both approaches are very different, I don't think it makes sense to expose them under the same API. Introducing an API that is only helpful...
> I dislike how it's possible to read the body multiple times. In `reqwest` they use the same pattern https://docs.rs/reqwest/latest/reqwest/struct.Response.html#method.text for the same reasoning @Alextopher While I do think that...
> I'm not an expert rust user but it feels un-rusty to leave a class of bug the type system could easily solve. I don't disagree. But at the same...
Can you confirm that `fetch` also does that? Gloo exposes the [`Headers`](https://developer.mozilla.org/en-US/docs/Web/API/Headers) interface and does no pre-processing
@langyo merging your other PR caused conflicts here. Can you please take a look?
The master branch here depends on unreleased feature of yew (assigning JsValue to property in html!) so it can't depend on the released version
> And if I intentionally break gloo by e.g. overriding the onmessage handler, then that’s obviously on me. The API should prevent you from being able to make such a...
A way to take care of this would be to have into_raw and from_raw methods, similar to Box. I'm not sure if I want to make the latter `unsafe` (as...
What's wrong with allowing keys to be read from JS environment? We can put road blocks in place but if it's something that is stored on client's device, it _will_...