Muhammad Hamza dd2db93996
Use functions from gloo_utils instead of re-implementing them (#2124)
* Use functions from `gloo_utils` instead of re-implementing them

* Remove `anyhow` dependency

* fix errors

* review + post merge fixes
2021-11-11 16:45:08 +02:00
..
2020-09-22 00:17:48 +02:00

Futures Example

Demo

Fetches Yew's README file and renders it to the page.

Concepts

This example shows off how to make asynchronous fetch requests using web-sys and Yew's futures support. It makes use of yewtil's LinkFuture to easily send messages asynchronously. It also contains a Markdown renderer which manually creates Html without using the html! macro.

Improvements

  • Markdown rendering code should be cleaned up.
  • Should make use of CSS to style the output.
  • This example could use a better name.
  • Since this features a Markdown renderer it should be possible to render more than just one document.