* Fix hot reloading components with keys * include component formatted segment keys, but not dynamic component value * extend each head component with the corresponding element * Allow spreading custom attributes into components * Fix component_literal_dyn_idx index * add a new test for hot reloading components with keys * FIx script without body warning and rendering styles with a href set * fix clippy
dioxus-core-macro
Website | Guides | API Docs | Chat
Overview
dioxus-core-macro provides a handful of helpful macros used by the dioxus crate. These include:
- The
rsx!macro that underpins templates and node creation. - The
componentattribute macro denotes a function as a Dioxus component. Currently, this:- Transforms function arguments into an auto-derived struct.
- Ensures that your component name uses PascalCase.
- Probably more stuff in the future. This macro allows us to have a way of distinguishing functions and components, which can be quite handy.
- The
format_args_fmacro which allows f-string formatting with support for expressions.
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.