Skip to content

Commit

Permalink
Add system for creating component attributes + new #[component] att…
Browse files Browse the repository at this point in the history
…ribute (#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
  • Loading branch information
Leonard authored Sep 15, 2023
1 parent b68a1f5 commit c866ae6
Show file tree
Hide file tree
Showing 281 changed files with 1,122 additions and 12,818 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ members = [
"packages/fullstack/examples/salvo-hello-world",
"packages/fullstack/examples/warp-hello-world",
"packages/fullstack/examples/static-hydrated",
"docs/guide",
"docs/router",
# Full project examples
"examples/tailwind",
"examples/PWA-example",
Expand Down
Empty file removed docs/.nojekyll
Empty file.
19 changes: 0 additions & 19 deletions docs/README.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/fermi/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions docs/fermi/book.toml

This file was deleted.

3 changes: 0 additions & 3 deletions docs/fermi/src/SUMMARY.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/fermi/src/chapter_1.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/guide/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions docs/guide/Cargo.toml

This file was deleted.

40 changes: 0 additions & 40 deletions docs/guide/book.toml

This file was deleted.

1 change: 0 additions & 1 deletion docs/guide/examples/Readme.md

This file was deleted.

71 changes: 0 additions & 71 deletions docs/guide/examples/anti_patterns.rs

This file was deleted.

18 changes: 0 additions & 18 deletions docs/guide/examples/boolean_attribute.rs

This file was deleted.

27 changes: 0 additions & 27 deletions docs/guide/examples/component_borrowed_props.rs

This file was deleted.

36 changes: 0 additions & 36 deletions docs/guide/examples/component_children.rs

This file was deleted.

37 changes: 0 additions & 37 deletions docs/guide/examples/component_children_inspect.rs

This file was deleted.

36 changes: 0 additions & 36 deletions docs/guide/examples/component_element_props.rs

This file was deleted.

34 changes: 0 additions & 34 deletions docs/guide/examples/component_owned_props.rs

This file was deleted.

Loading

0 comments on commit c866ae6

Please sign in to comment.