Commit Graph
8 Commits
Author SHA1 Message Date
Jonathan Kelley 1527b81e02 Components participate in event handlers 2024-01-11 12:11:27 -08:00
Evan Almloff 219c068283 Merge branch 'master' into events-2 2023-09-17 20:01:21 -05:00
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
Evan Almloff df222c121a port examples to new events 2023-09-01 15:38:55 -05:00
Jonathan Kelley d583e1c750 Fix clippy 2023-07-14 16:34:49 -07:00
marc2332 fb2669c3be improved shared state example 2023-07-02 22:41:00 +02:00
marc2332 a3978d60a8 update 2023-06-28 00:17:36 +02:00
marc2332 8a2f9f3fcb feat(docs): Improved shared state, use_effect and use_memo docs 2023-06-28 00:15:00 +02:00