dioxus/packages/rsx
Jonathan Kelley 14b3fa72e4
Change the semantics of exprs/for loops allocations strategy
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.
2023-10-15 17:40:56 -07:00
..
src Change the semantics of exprs/for loops allocations strategy 2023-10-15 17:40:56 -07:00
Cargo.toml Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
README.md fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00

Dioxus-RSX

Crates.io MIT licensed Build Status Discord chat

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.