Evan Almloff
e65c5f0eb3
depreciate the render macro
2024-01-16 13:18:46 -06:00
Evan Almloff
407a82588a
fix more examples
2024-01-16 12:28:21 -06:00
Evan Almloff
db35a9b48c
add platform specific functions for launching apps for workspaces
2024-01-16 11:45:02 -06:00
Evan Almloff
7e4d2debe0
implement launch builder for the desktop and web platforms
2024-01-16 08:42:16 -06:00
Jonathan Kelley
98bd78de43
Fix issue with mutability in component macro
2024-01-15 23:57:10 -08:00
Jonathan Kelley
8559984e9d
and mut bound to mut methods on signals
2024-01-15 23:24:59 -08:00
Jonathan Kelley
d88561f973
Adjust impl for signal syntax to allow cloned values
2024-01-15 21:43:30 -08:00
Jonathan Kelley
33bba24867
Experiment with call syntax only working for copy types
2024-01-15 21:12:44 -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
Jonathan Kelley
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies
2024-01-10 19:33:34 -08:00
Jonathan Kelley
9cdbf81a4b
fix clippy lint
2023-10-17 16:06:43 -07:00
Jonathan Kelley
65e21d7874
Change signals example a bit
2023-10-17 15:52:13 -07: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
Jonathan Kelley
7e2164d6d6
Add toggle
2023-10-15 17:52:01 -07:00
Jonathan Kelley
741bfbc9ac
Add toggle to signals example
2023-10-15 17:50:23 -07:00
Jonathan Kelley
14b3fa72e4
Change the semantics of exprs/for loops allocations strategy
...
This commit adjusts how exprs and for loops are handled within
rsx. This is a breaking change in terms of codegen, but has
slight semantic changes as well.
Now, when exprs/for loops are allocated, they are given a temporary.
The temporary is elided to the <'a> lifetime of the bump, to satisfy
the borrow checker. This fixes issues with signals where exprs/for
loops mapping vecs out of RefCells would be caught up without a
temporary lifetime.
2023-10-15 17:40:56 -07:00
Evan Almloff
190c65b15d
fix memo and add tests
2023-08-07 14:31:03 -07:00
Jonathan Kelley
2d8841cf70
Add lazy contexts to signals
2023-07-14 12:52:49 -07:00
Jonathan Kelley
14a1e4145e
feat: implement function accessor
2023-01-01 22:57:16 -05:00
Jonathan Kelley
fd92079eb3
feat: add recycling of rts in signals
2023-01-01 22:09:08 -05:00
Jonathan Kelley
c0315e55f4
chore: more signals methods
2023-01-01 22:02:49 -05:00
Jonathan Kelley
4f9d67fb45
feat: simple signals implementation
2023-01-01 19:57:33 -05:00