mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
parent
5bcb772511
commit
06814dc17b
1 changed files with 6 additions and 3 deletions
|
@ -23,9 +23,12 @@
|
||||||
|
|
||||||
`dioxus-core-macro` provides a handful of helpful macros used by the `dioxus` crate. These include:
|
`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 `rsx!` macro that underpins templates and node creation.
|
||||||
- The `inline_props` macro transforms function arguments into an auto-derived struct
|
- The `component` attribute macro denotes a function as a Dioxus component. Currently, this:
|
||||||
- The `format_args_f` macro which allows f-string formatting with support for expressions
|
- 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_f` macro which allows f-string formatting with support for expressions.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue