Commit Graph
182 Commits
Author SHA1 Message Date
Evan Almloff 69a1ec0e3c Merge branch 'create-comparer' into maybe-sync-signal 2024-01-08 13:56:11 -06:00
ealmloff f54ee1c361 Merge branch 'master' into map-signal 2024-01-05 18:30:31 -06:00
Evan Almloff 4013341b6c hello world example working 2024-01-05 18:01:05 -06:00
Evan Almloff b7c9817cf3 fix tests 2024-01-02 15:19:01 -06: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 b9d179c494 add as_mapped_ref 2024-01-01 10:44:21 -06:00
werner291 a0b95a82a0 Implemented From<Signal<T>> for ReadOnlySignal<T> (#1772) 2024-01-01 10:22:52 -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 6b17d3db1e fix signals crate 2023-12-15 18:35:48 -06:00
Evan Almloff 9e388c3c51 refactor generational box into multiple files 2023-12-15 08:50:54 -06:00
Evan Almloff 70c3abb8df Merge branch 'master' into maybe-sync-signal 2023-12-14 12:29:32 -06:00
Evan Almloff a1550460ce Fix peek spelling 2023-12-07 11:37:59 -06:00
Evan Almloff 1c2a6fa010 fix signals with debug information 2023-12-07 07:19:41 -06:00
ealmloff c67e0705ea Merge branch 'master' into signal-read-untracked 2023-12-07 07:12:30 -06:00
Evan Almloff 2bab4eb6c3 rename read_untracked to peak 2023-12-07 07:06:43 -06:00
Evan Almloff b3c5158524 fix tests 2023-11-07 13:15:19 -06:00
Evan Almloff e77c158636 fix selector effect id 2023-11-07 09:19:33 -06:00
Evan Almloff 7daa945ae3 fix effects 2023-11-06 18:54:35 -06:00
Evan Almloff 466005890d make effect system async to make signals send + sync 2023-11-06 18:47:51 -06:00
Evan Almloff 6eb4e7358b fix selector and signal unsync default 2023-11-06 14:46:26 -06:00
Evan Almloff ebbaacf073 fix read and write impls 2023-11-03 10:27:21 -05:00
Evan Almloff 0a8de1d40f clean up ref mapping with GATs 2023-11-02 19:35:53 -05:00
Evan Almloff ff26380838 fix clippy 2023-11-01 08:21:04 -05:00
Evan Almloff d815c7cc89 create a reactive selector called comparer 2023-10-31 18:30:06 -05:00
Evan Almloff 8a62e4a987 Merge branch 'master' into debug-signals 2023-10-31 13:55:20 -05:00
Evan Almloff 90e04edcdf make the signal runtime global 2023-10-30 14:25:31 -05:00
Evan Almloff c5e647e97d add read untracked to signals 2023-10-30 08:39:37 -05:00
Evan Almloff 1126c1d329 make signal sync 2023-10-26 12:47:53 -05:00
Jonathan Kelley ea8c5e290d Merge pull request #1551 from ealmloff/fix-signals-outside-of-runtime
Fix using signals outside of a scope
2023-10-23 15:32:12 -04:00
Jonathan Kelley 55ad41b392 Merge branch 'master' into jk/loop-allocation-strategy 2023-10-17 15:27:20 -07:00
Evan Almloff bfacf94db4 finish removing generic from SignalMap 2023-10-17 13:50:21 -05:00
Evan Almloff 4b8701e3eb Merge branch 'master' into map-signal 2023-10-17 13:45:36 -05:00
Evan Almloff 365868f636 remove extra generic from SignalMap 2023-10-17 13:45:25 -05:00
Evan Almloff ce86aabf26 fix clippy 2023-10-17 13:02:51 -05:00
Evan Almloff 050add21d7 effect-outside-of-runtime 2023-10-17 12:56:12 -05:00
Jonathan Kelley 509dca97e6 Merge pull request #1544 from ealmloff/must-use-hooks
Add must use to several hooks
2023-10-17 09:24:39 -07:00
Evan Almloff 6e9aa4dba1 fix clippy 2023-10-16 13:29:32 -05:00
Evan Almloff c65116c173 restore deref<Fn() -> Ref> 2023-10-16 13:03:37 -05:00
Evan Simkowitz b1d6069363 Fix deref for Write struct in dioxus-signals (#1549) 2023-10-16 10:49:21 -05:00
Jonathan Kelley 7e2164d6d6 Add toggle 2023-10-15 17:52:01 -07:00
Evan Almloff 3bf6d2d7cf add must use to several hooks 2023-10-14 12:08:54 -05:00
Evan Almloff 7ea868bd08 add a map method to signal 2023-10-11 12:46:53 -05:00
Evan Almloff 3578f03f4f add the ability to map signals 2023-10-11 12:43:22 -05:00
Leonard 2d1234c3d1 Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff 78860da006 Merge branch 'master' into debug-signals 2023-09-22 07:59:47 -05:00
Jonathan Kelley 30b958ffa8 Merge pull request #1386 from ealmloff/fix-new-signals-in-effects
Fix leaked signals created in effects
2023-09-16 11:56:40 -07: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