Merge branch 'DioxusLabs:master' into router-typesafe
This commit is contained in:
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}}
|
||||
|
||||
Reference in new issue
Block a user