dioxus/packages/autofmt/tests/samples
Leonard c866ae602b
Add system for creating component attributes + new #[component] attribute (#1448)
* Add `#[component]` attribute + system for creating component attributes + other stuff

* Delete inlineprops.rs

* Update inline_props.rs

* Cargo fmt

* Fix clippy warnings and paths in props/mods.rs

* Include where clause in `#[inline_props]` output

* Allow Clippy type complexity in `LinkProps`

* Allow the type complexity lint for the entire link.rs file

* Remove snake_case -> PascalCase converter, but rather enforce PascalCase

Also:
- Put the second function inside the main one instead of besides it.
- Simplify

* Simplify type check lints so they don't return false positives

They will not always work, but they won't return any false positives, like for aliases. This is likely going to be replaced by a more polished Clippy-backed linting system.

* Fix #583

* Cargo fmt

* Add docs for `deserialize()` and remove useless comment

* Add `#[component]` to prelude

* Merge branch 'master' of https://github.com/tigerros/dioxus

* #[inline_props] is no more. Except in the docs folder, but that's going to be removed

* Remove docs folder

* Remove docs from workspace

* Resolve `DeserializerOutput` conversation
2023-09-15 09:13:36 -05:00
..
attributes.rsx fix ci around autofmt 2023-01-14 00:42:43 -08:00
collapse_expr.rsx fix: short expr lists should not eat the final exprs 2023-01-16 17:25:55 -08:00
comments.rsx fix: only apply comments if relevant 2022-07-05 17:59:33 -04:00
commentshard.rsx feat: implement comments in zero children nodes 2023-01-10 17:47:58 -08:00
complex.rsx fix autoformatting raw strings 2023-06-02 12:03:56 -05:00
emoji.rsx fix emoji support in autofmt 2023-01-12 16:29:31 -08:00
ifchain_forloop.rsx feat: allow ifchains and for loops 2023-01-13 10:51:12 -08:00
immediate_expr.rsx fix: immediate exprs 2023-01-16 16:36:50 -08:00
key.rsx fix: trailing commas with key 2022-09-28 17:06:11 -07:00
long.rsx Add system for creating component attributes + new #[component] attribute (#1448) 2023-09-15 09:13:36 -05:00
long_exprs.rsx fix: only flow exprs with indent in mind 2023-01-12 17:02:41 -08:00
manual_props.rsx feat: fix autoformatting around one liners 2022-07-05 17:49:16 -04:00
messy_indent.rsx feat: parse entire file instead of hunting for verbtain 2023-01-13 16:46:34 -08:00
multirsx.rsx chore: fix rsx printer 2022-12-19 16:20:02 -08:00
raw_strings.rsx fix autoformatting raw strings 2023-06-02 12:03:56 -05:00
reallylong.rsx fix ci around autofmt 2023-01-14 00:42:43 -08:00
simple.rsx fix ci around autofmt 2023-01-14 00:42:43 -08:00
t2.rsx feat: parse entire file instead of hunting for verbtain 2023-01-13 16:46:34 -08:00
tiny.rsx feat: parse entire file instead of hunting for verbtain 2023-01-13 16:46:34 -08:00
tinynoopt.rsx feat: fix autoformatting around one liners 2022-07-05 17:49:16 -04:00
trailing_expr.rsx fix: dont choke on emojji n exprs 2023-01-17 16:24:29 -08:00