Exotik850
8e4debb226
remove #[doc(hidden)] from EventHandler ( #1665 )
...
* remove #[doc(hidden)] from EventHandler
* Make UseFuture Clone, factor out dependencies field
* Revert "Make UseFuture Clone, factor out dependencies field"
This reverts commit 9ca09e595d
.
* fix formatting
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-11-27 15:45:29 -06:00
Exotik850
f8ce72c605
Fix outdated lazynode documentation ( #1648 )
...
* Fix outdated lazynode documentation
* Use expanded rsx! instead of just rsx macro
2023-11-20 09:49:18 -06:00
Evan Almloff
370c6cb9d2
fix clippy
2023-10-25 16:47:04 -05:00
Evan Almloff
b99f081c08
drop any attribute after rendering
2023-10-25 16:37:04 -05:00
Jonathan Kelley
e819702fc5
Add into_vnode temporary logic for more things
...
This commit adjusts how rsx! works, making it more forgiving with signals.
Notably, we add the temporaries to if chains too.
2023-10-17 15:42:21 -07: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
Leonard
95d8843d9d
Fix clippy ( #1532 )
2023-10-08 18:24:38 -05:00
Evan Almloff
248d78fbfe
fix clippy
2023-10-05 15:45:34 -05:00
Evan Almloff
b9a92a1bd8
fix core exports
2023-09-17 20:03:58 -05:00
Evan Almloff
23c215da02
make RuntimeGuard public
2023-09-17 14:11:13 -05:00
Jonathan Kelley
13f10fea1b
Merge pull request #1441 from ealmloff/fix-uplink
...
Expose public methods for manipulating the global runtime
2023-09-16 11:59:59 -07:00
Jonathan Kelley
e59a05141e
Merge pull request #1446 from ealmloff/deduplicate-hot-reload-cli
...
Deduplicate serve code with hot reloading in the CLI crate
2023-09-16 11:55:16 -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
Evan Almloff
ed9573094c
fix ComponentProps partialeq
2023-09-11 15:13:29 -05:00
Evan Almloff
bc3b781136
fix runtime import
2023-09-10 13:25:19 -05:00
Evan Almloff
083ccd765c
fix formatting
2023-09-10 13:23:29 -05:00
Evan Almloff
49a127b31e
deduplicate serve code with hot reloading in the CLI crate
2023-09-09 16:18:52 -05:00
ealmloff
28d71624ef
Restore context changes
2023-09-09 16:00:29 -05:00
Evan Almloff
9496853fbc
expose public methods for manipulating the global runtime
2023-09-08 10:05:58 -05:00
Evan Almloff
66333e9767
improve context tracing
2023-09-08 10:00:05 -05:00
Evan Almloff
c55c17cb81
switch to tracing for logging
2023-09-06 17:47:33 -05:00
ealmloff
6662892c10
find attributes and components to drop in lazy nodes ( #1376 )
2023-09-05 13:43:42 -05:00
Jani Mustonen
31f8bab20d
Add ScopeId::ROOT ( #1398 )
...
* add ScopeId::ROOT
* replace ScopeId(0) with ScopeId::ROOT
---------
Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
ealmloff
b2f9430689
Merge branch 'DioxusLabs:master' into fix-borrowed-props
2023-08-19 13:35:24 -05:00
Jonathan Kelley
a2df9c2e89
Merge pull request #1364 from Demonthos/fix-core-leak
...
Fix leak in core because of bump allocated Vec
2023-08-15 13:54:00 -07:00
Evan Almloff
b8600d5144
fix tests
2023-08-15 13:11:03 -05:00
Evan Almloff
943c76b1da
Fix memory leak in core
2023-08-15 12:19:05 -05:00
Evan Almloff
2d5a4f82bf
Fix the context API in lists
2023-08-13 08:47:27 -05:00
Evan Almloff
d559fdaeab
fix borrowed props with temp values
2023-08-12 19:19:46 -05:00
ealmloff
39ab39ac56
Merge branch 'DioxusLabs:master' into signals
2023-08-10 16:31:00 -05:00
Evan Almloff
80ac1a99af
fix miri
2023-08-09 14:20:46 -07:00
Evan Almloff
f91eeccca7
add compile test for unsound case
2023-08-09 10:49:47 -07:00
Evan Almloff
b4983706ac
fix variance on components
2023-08-09 10:26:59 -07:00
Evan Almloff
24c626b306
fix clippy
2023-08-08 13:43:57 -07:00
Evan Almloff
4ee4cf23d3
restore a few unneeded breaking changes
2023-08-08 13:37:29 -07:00
Evan Almloff
69dab86873
add selector example to readme
2023-08-08 13:27:45 -07:00
Evan Almloff
ba7a663eb6
fix some ownership issues
2023-08-08 13:18:15 -07:00
Evan Almloff
292b3367dd
create some more compelling examples
2023-08-07 18:20:03 -07:00
Evan Almloff
0c17bdb737
don't subscribe in tasks or event handlers
2023-08-07 17:55:29 -07:00
Evan Almloff
6ca170453b
handle virtual dom switching
2023-08-07 14:59:58 -07:00
Evan Almloff
ddbe913e79
make signals non-breaking
2023-08-07 14:50:36 -07:00
Evan Almloff
b0d499036a
make future handling functions global
2023-08-07 11:16:22 -07:00
Evan Almloff
dce418140a
create a way to hoist ownership to a different scope
2023-08-04 17:50:05 -07:00
Evan Almloff
b3fbbba711
fix signals in futures
2023-08-04 17:25:40 -07:00
Evan Almloff
a6f611eccf
fix subscriptions in events
2023-08-04 17:23:57 -07:00
Evan Almloff
0032f7e2af
fix miri
2023-08-04 15:23:09 -07:00
Evan Almloff
0be5dbe715
fix the context API
2023-08-04 14:42:19 -07:00
Evan Almloff
998f9e0d00
remove static bound from props
2023-08-04 14:24:49 -07:00
Evan Almloff
a2c7b69a1d
set the scope stack correctly
2023-08-04 14:19:59 -07:00
Evan Almloff
b09e528aaa
fix recursive runtime drop impl
2023-08-04 14:14:56 -07:00