Commit Graph
9 Commits
Author SHA1 Message Date
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
marc2332 052ae145bf updated docs 2023-07-02 23:00:26 +02:00
marc2332 8a2f9f3fcb feat(docs): Improved shared state, use_effect and use_memo docs 2023-06-28 00:15:00 +02:00
Jonathan Kelley db5b65b6cb chore: make cargo check happy with new apis 2022-12-07 14:51:14 -08:00
Jonathan Kelley 4eefc3f854 chore: rename all &cx to cx, make clipppy happy 2022-12-07 13:11:40 -08:00
Jonathan Kelley a61daf220d feat: context api overhaul 2022-12-02 16:24:49 -08:00
Reinis Mazeiks d734dc5b46 Remove argument from use_hook closure (#496)
Also; update docs for said function
2022-07-11 15:50:56 -04:00
Jonathan Kelley 4ad4b18e4b feat: useeffect 2022-02-26 17:31:35 -05:00
Jonathan Kelley 64edc6e1b1 feat: useeffect implemented 2022-02-26 03:12:22 -05:00