yew/examples/futures/README.md
Simon 66d506e133
Update documentation for the new examples (#1586)
* fix todomvc example

* update READMEs now that we're hosting the examples

* update documentation

* add trunk template

* Improve wording
2020-09-23 03:47:28 +02:00

842 B

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.