mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 20:53:06 +00:00
14b3fa72e4
This commit adjusts how exprs and for loops are handled within rsx. This is a breaking change in terms of codegen, but has slight semantic changes as well. Now, when exprs/for loops are allocated, they are given a temporary. The temporary is elided to the <'a> lifetime of the bump, to satisfy the borrow checker. This fixes issues with signals where exprs/for loops mapping vecs out of RefCells would be caught up without a temporary lifetime. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Dioxus-RSX
Website | Guides | API Docs | Chat
Overview
This crate provides the actual DSL that Dioxus uses in the rsx!
macro. This crate is separate from the macro crate to enable tooling like autoformat, translation, and AST manipulation (extract to component).
Contributing
- Report issues on our issue tracker.
- Join the discord and ask questions!
License
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT, without any additional terms or conditions.