Commit graph

5840 commits

Author SHA1 Message Date
Marc Espin
617b11a352
feat: Add Resource::clear() and also updated Resource docs (#2049)
* feat: Add clear method to Resource and also updated its docs

* Update use_resource.rs
2024-03-11 14:17:20 -05:00
Ahmet Kaan GÜMÜŞ
72cb59df9b
docs: Add Turkish Translation (#2050)
* docs: add Turkish translation of README.

* docs: added vscode extension link.
2024-03-11 13:57:47 -05:00
Jonathan Kelley
7303b752ec
Merge pull request #2042 from rtretter/main
Fixed VSCode extension
2024-03-11 10:45:35 -07:00
studystill
3a21ac5710
remove repetitive words (#2046)
Signed-off-by: studystill <chenghuiyue@outlook.com>
2024-03-11 09:49:26 -05:00
JeremyChen
70f97ec787
enhance: avoid failed hot-reload if backup file like .rs~ generate (#2048)
(cherry picked from commit 8565bca11b)

Co-authored-by: Jeremy Chen <jeremychen@djeremychen.com>
2024-03-11 09:30:25 -05:00
toxicvipa
664c9c37cc removed scheme check for formatter and fixed indent bug 2024-03-09 19:32:15 +01:00
toxicvipa
f5a57c7693 implemented formatter for selection 2024-03-09 15:06:31 +01:00
Jonathan Kelley
60235ac06b
Merge pull request #2035 from DioxusLabs/jk/clean-core-macro
Chore #2028: radically clean up core-macro
2024-03-09 01:57:48 -08:00
Jonathan Kelley
32595ce161
Fix clippy on box references 2024-03-09 01:54:25 -08:00
Jonathan Kelley
494f7e727d
Heavily document component macro 2024-03-09 01:31:40 -08:00
Jonathan Kelley
052fd774cf
Chore #2028: radically clean up core-macro 2024-03-09 01:09:20 -08:00
Jonathan Kelley
2d2e9dc56a
Merge pull request #2033 from DioxusLabs/jk/kick-sf-on-client
Kick server futures on the client to track reactivity
2024-03-08 18:09:10 -08:00
Jonathan Kelley
47e7f2fd41
Kick server futures on the client 2024-03-08 16:52:03 -08:00
Jonathan Kelley
822fc79531
Merge pull request #2030 from rtretter/main
fixed clippy failing in non-server environment
2024-03-08 15:01:55 -08: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
rtretter
47cfd212c9 fixed clippy failing in non-server environment 2024-03-08 23:45:50 +01:00
Evan Almloff
bbc81b8f9c fix memos in children; introduce isomorphic spawn 2024-03-08 16:40:31 -06:00
Jonathan Kelley
7461a14cb4
fix 2020: return None if the root nodes are empty in rsx (#2026) 2024-03-08 15:57:46 -06:00
Robin Tretter
8eda67ecb2
added hot-reload as config option with default to true (#2024) 2024-03-08 14:54:03 -06:00
Jonathan Kelley
ac990a4447
Merge pull request #2023 from ealmloff/hooks-readable
Implement Readable for Hooks
2024-03-08 12:26:39 -08:00
Jonathan Kelley
4a27b16cc5
Merge pull request #2022 from ealmloff/signal-lifetimes
Restore signal lifetimes; rename take to manually drop
2024-03-08 12:25:42 -08:00
Evan Almloff
f8a8ee3e29 fix clippy 2024-03-08 12:45:23 -06:00
Evan Almloff
ffc49530f6 implement readable and callable for all structs in the hooks crate 2024-03-08 11:17:28 -06:00
Evan Almloff
98158bdc6f fix headless tests 2024-03-08 10:54:02 -06:00
Evan Almloff
4bc2f4a713 add more docs around lifetime downcasting 2024-03-08 10:46:34 -06:00
Evan Almloff
5f9e5f607b rename take to manually drop 2024-03-08 10:35:27 -06:00
Evan Almloff
60a84956d1 restore lifetime checking for signals 2024-03-08 10:32:57 -06:00
Jonathan Kelley
295c29db5d
Merge pull request #2005 from ealmloff/fix-suspense
Only poll suspended futures, lazy memos
2024-03-07 23:43:52 -08:00
Evan Almloff
9bad802beb clean up dirty scopes module 2024-03-07 21:04:48 -06:00
Evan Almloff
cca92b9fed remove extra logging 2024-03-07 20:51:19 -06:00
Evan Almloff
e72bf5820f reuse remove_task in handle_task_wakeup 2024-03-07 20:47:43 -06:00
Jonathan Kelley
db83ed775b
Merge pull request #2017 from DioxusLabs/jk/reject-invalid-keys
Fix: pushroot should actually push the right root on native mutations
2024-03-07 18:06:44 -08:00
Jonathan Kelley
b05ea0b202
FIx: pushroot should actually push the right root on native mutations 2024-03-07 18:02:44 -08:00
Jonathan Kelley
a4f19be122
Merge pull request #2016 from DioxusLabs/jk/reject-invalid-keys
Feat: reject invalid keys
2024-03-07 17:20:23 -08:00
Jonathan Kelley
3e5edff724
Fix key errors in autofmt crate 2024-03-07 16:21:51 -08:00
Jonathan Kelley
22e82fc140
undo >=1 check on roots 2024-03-07 16:11:44 -08:00
Jonathan Kelley
ae352f8958
Feat: reject invalid keys 2024-03-07 16:03:00 -08:00
Evan Almloff
3d7f419636 fix memos during suspense 2024-03-07 11:49:51 -06:00
Jonathan Kelley
6faa51a4a9
Merge pull request #1974 from DioxusLabs/jk/fix-form-inputs
Fix form inputs, form submits navigating, file drop, multiple root elements
2024-03-06 20:24:48 -08:00
Jonathan Kelley
feb80ce509
remove old interpreter 2024-03-06 20:24:37 -08:00
Jonathan Kelley
c3df8c55e3
fix windows, enable tokio for examples on wasm 2024-03-06 19:59:47 -08:00
Jonathan Kelley
bb5ecd779f
clean up some examples, ensuring stuff works 2024-03-06 19:50:07 -08:00
Jonathan Kelley
2995647e99
trim line feeds 2024-03-06 19:18:41 -08:00
Jonathan Kelley
c99c07db0c
warn 2024-03-06 18:59:27 -08:00
Jonathan Kelley
a2907d138d
dont even hash it! 2024-03-06 18:59:15 -08:00
Jonathan Kelley
c75aa48c74
add warning 2024-03-06 18:43:19 -08:00
Jonathan Kelley
f073322bb3
use md5 instead 2024-03-06 18:43:07 -08:00
Jonathan Kelley
f65ded2cb4
raw bytes instead of str 2024-03-06 18:16:09 -08:00
Jonathan Kelley
99748a611c
move debug 2024-03-06 17:59:05 -08:00
Jonathan Kelley
8df87c64c0
debug windows build 2024-03-06 17:54:20 -08:00