Commit graph

39 commits

Author SHA1 Message Date
Tristan F.
9167cd9dec
fix most typos, add crate-ci/typos to CI (#2653)
* fix most typos, add crate-ci/typos to CI

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-07-23 17:49:33 -07:00
Evan Almloff
9f283f571f
fix signal error message and add tests (#2118) 2024-03-20 08:45:27 -07:00
Evan Almloff
df41df75d0 switch to use_reactive 2024-03-15 11:54:09 -05:00
Evan Almloff
81182f99ff fix and improve signal dependencies example 2024-03-13 12:00:18 -05:00
Jonathan Kelley
dd109f20d2
fix #1979: generated Owned impl for the props builder was using the wrong generics. (#2027)
This commit fixes the owned impl to use the original generics rather than the build generics.
2024-03-08 16:49:56 -06:00
Evan Almloff
4bc2f4a713 add more docs around lifetime downcasting 2024-03-08 10:46:34 -06:00
Evan Almloff
8689509eb5 erase the original readable type 2024-02-07 11:19:39 -06:00
Evan Almloff
c8937cb4df make mapped signal readable 2024-02-07 09:35:06 -06:00
Jonathan Kelley
6818bbe10a
Make use_future take an impl FnMut + 'static, don't include router prelude when we don't need to 2024-01-31 16:33:53 -08:00
Jonathan Kelley
8f07d881a6
Switch todo!() to unreachable!/unimplemented! where it matters 2024-01-31 16:26:20 -08:00
Jonathan Kelley
a72c035de4
Fix cargo check on examples 2024-01-30 17:59:57 -08:00
Jonathan Kelley
d092f7f19f
Fix effect by using a set_inner 2024-01-24 12:21:14 -08:00
Jonathan Kelley
06d9b575b7
rename use_selector to use_memo 2024-01-20 23:32:12 -08:00
Jonathan Kelley
85c7c22619
Make router work on web 2024-01-19 16:36:40 -08:00
Jonathan Kelley
83bce6ce97
Make cargo check --all --examples work! 2024-01-19 14:19:49 -08:00
Evan Almloff
611f0d3b5f Merge branch 'maybe-sync-signal' into breaking 2024-01-16 13:49:53 -06:00
Evan Almloff
e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Jonathan Kelley
33bba24867
Experiment with call syntax only working for copy types 2024-01-15 21:12:44 -08:00
Jonathan Kelley
9881a94e67
Remove cx in more places 2024-01-13 21:18:36 -08:00
Jonathan Kelley
1dde044697
remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Evan Almloff
73b7f450a5 fix merge errors 2024-01-02 14:55:46 -06:00
Evan Almloff
cddcd69200 Merge branch 'maybe-sync-signal' into map-signal 2024-01-02 14:17:01 -06:00
Evan Almloff
ccd0ccffa7 fix formatting 2024-01-01 10:47:45 -06:00
Evan Almloff
b9d179c494 add as_mapped_ref 2024-01-01 10:44:21 -06:00
Evan Almloff
e45739ac04 fix examples 2023-12-23 13:57:49 -06:00
Evan Almloff
31489167f7 use map in the signal iterator 2023-12-23 13:52:23 -06:00
Evan Almloff
0c7729da05 Merge branch 'master' into map-signal 2023-12-23 13:43:54 -06:00
Evan Almloff
a2fadc8d11 Make the function bounds for map less restrictive 2023-12-23 13:43:27 -06:00
Evan Almloff
5ab0c48ddd fix clippy 2023-12-17 17:55:02 -06:00
Evan Almloff
6b17d3db1e fix signals crate 2023-12-15 18:35:48 -06:00
Evan Almloff
70c3abb8df Merge branch 'master' into maybe-sync-signal 2023-12-14 12:29:32 -06:00
Exotik850
fc31876a57
Wasm target check before build (#1689)
* Add `rustup show` check for wasm32 target

* better place for check

* fmt

* clippy fmt
2023-12-07 12:35:16 -06:00
Evan Almloff
b3c5158524 fix tests 2023-11-07 13:15:19 -06: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
69dab86873 add selector example to readme 2023-08-08 13:27:45 -07:00
Evan Almloff
d6089bbd35 add optional dependency variants of selectors and effects 2023-08-08 13:06:33 -07:00
Evan Almloff
e2c08a79ae fix signal readme example 2023-08-08 11:12:08 -07:00
Evan Almloff
292b3367dd create some more compelling examples 2023-08-07 18:20:03 -07:00