Commit graph

5758 commits

Author SHA1 Message Date
Jonathan Kelley
bca5335f31
fix: hotreloading files with multiple templates, asset hotreloading 2024-03-13 02:13:37 -07:00
Jonathan Kelley
05476cad76
Merge branch 'main' into jk/fix-hotreloading-issues 2024-03-12 14:38:36 -07:00
Jonathan Kelley
930f8bffbc
Merge pull request #2068 from ealmloff/dont-quit-early-build-fail
Don't quit serving early if builds fail
2024-03-12 14:38:19 -07:00
Evan Almloff
82ab212414 don't quit serving early if builds fail 2024-03-12 16:37:20 -05:00
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Jonathan Kelley
d180f569cf
Merge pull request #2064 from ealmloff/make-resource-copy
Implement copy for Resource
2024-03-12 13:32:31 -07:00
Jonathan Kelley
b35f74e9d6
Merge pull request #2029 from ealmloff/isomorphic-spawn
Fix memos in children; introduce isomorphic spawn
2024-03-12 13:32:22 -07:00
Evan Almloff
b2607a5b35 Fix temporary reads within rsx 2024-03-12 15:15:36 -05:00
Evan Almloff
81e0469cc2 implement copy for Resource 2024-03-12 15:15:24 -05:00
Jonathan Kelley
41809f9a1b
Merge pull request #2057 from ealmloff/fix-examples-assets
Fix Manganis assets overlapping between examples
2024-03-11 16:33:21 -07:00
Evan Almloff
88e2dc127a Never remove queued tasks without polling during suspense 2024-03-11 17:43:08 -05:00
Evan Almloff
6b84f284c9 fix manganis assets overlapping between examples 2024-03-11 17:11:52 -05:00
Konstantin Kostiuk
a4de322821
fix typo varient -> variant (#2056) 2024-03-11 17:03:34 -05:00
Evan Almloff
29b9375fbd fix readme translation links 2024-03-11 16:29:12 -05:00
Evan Almloff
3e9a360b55 Merge branch 'main' into isomorphic-spawn 2024-03-11 15:42:47 -05:00
Evan Almloff
f51b5617e1 add a test for the memo hook 2024-03-11 15:33:46 -05:00
Jonathan Kelley
44d09fcd2d
Merge pull request #2054 from ealmloff/fix-read-only-signal-visibility
Fix the visibility of the read only signal helper struct
2024-03-11 13:08:31 -07:00
Evan Almloff
d575b3e4e4 fix the visibility of the read only signal helper struct 2024-03-11 14:46:51 -05:00
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