Merge branch 'DioxusLabs:master' into router-typesafe

This commit is contained in:
ealmloff authored and GitHub committed 2023-06-14 16:22:24 +03:00
commit c33d1f5dc2
26 files changed
+273 -179

No files matched your search

@@ -64,7 +64,7 @@ Example: suppose you have a list of comments you want to render. Then, you can r
### Inline for loops
Because of how common it is to render a list of items, Dioxus provides a shorthand for this. Instead of using `.iter, `.map`, and `rsx`, you can use a `for` loop with a body of rsx code:
Because of how common it is to render a list of items, Dioxus provides a shorthand for this. Instead of using `.iter`, `.map`, and `rsx`, you can use a `for` loop with a body of rsx code:
```rust
{{#include ../../../examples/rendering_lists.rs:render_list_for_loop}}