Skip to content

Commit c866ae6

Browse files
author
Leonard
authored
Add system for creating component attributes + new #[component] attribute (DioxusLabs#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 DioxusLabs#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
1 parent b68a1f5 commit c866ae6

File tree

281 files changed

+1122
-12818
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+1122
-12818
lines changed

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ members = [
3737
"packages/fullstack/examples/salvo-hello-world",
3838
"packages/fullstack/examples/warp-hello-world",
3939
"packages/fullstack/examples/static-hydrated",
40-
"docs/guide",
41-
"docs/router",
4240
# Full project examples
4341
"examples/tailwind",
4442
"examples/PWA-example",

docs/.nojekyll

Whitespace-only changes.

docs/README.md

-19
This file was deleted.

docs/fermi/.gitignore

-1
This file was deleted.

docs/fermi/book.toml

-6
This file was deleted.

docs/fermi/src/SUMMARY.md

-3
This file was deleted.

docs/fermi/src/chapter_1.md

-1
This file was deleted.

docs/guide/.gitignore

-1
This file was deleted.

docs/guide/Cargo.toml

-27
This file was deleted.

docs/guide/book.toml

-40
This file was deleted.

docs/guide/examples/Readme.md

-1
This file was deleted.

docs/guide/examples/anti_patterns.rs

-71
This file was deleted.

docs/guide/examples/boolean_attribute.rs

-18
This file was deleted.

docs/guide/examples/component_borrowed_props.rs

-27
This file was deleted.

docs/guide/examples/component_children.rs

-36
This file was deleted.

docs/guide/examples/component_children_inspect.rs

-37
This file was deleted.

docs/guide/examples/component_element_props.rs

-36
This file was deleted.

docs/guide/examples/component_owned_props.rs

-34
This file was deleted.

0 commit comments

Comments
 (0)