Commit Graph
25 Commits
Author SHA1 Message Date
Evan Almloff 95976d9a17 Extend head components with global attributes (#2888)
* Fix hot reloading components with keys

* include component formatted segment keys, but not dynamic component value

* extend each head component with the corresponding element

* Allow spreading custom attributes into components

* Fix component_literal_dyn_idx index

* add a new test for hot reloading components with keys

* FIx script without body warning and rendering styles with a href set

* fix clippy
2024-10-01 10:24:22 -05:00
Jonathan Kelley 9c64fc4769 Fix #1938, allow explicit props 2024-03-18 15:34:46 -07:00
Jonathan Kelley cfc119cce2 Update more examples, add css for more examples 2024-02-14 13:48:58 -08:00
Jonathan Kelley a72c035de4 Fix cargo check on examples 2024-01-30 17:59:57 -08:00
Jonathan Kelley 3ded0f5329 Make more examples cross-platform 2024-01-20 00:11:55 -08:00
Evan Almloff e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff 8d14671520 fix spreading attributes 2024-01-16 11:04:37 -06:00
Jonathan Kelley 33bba24867 Experiment with call syntax only working for copy types 2024-01-15 21:12:44 -08:00
Jonathan Kelley 14651a3573 Change context api to panic with nice error message 2024-01-15 18:02:58 -08:00
Jonathan Kelley 74aa55f85f Bring back mroe hooks, remove old hooks, cleanup a number of examples 2024-01-15 17:04:39 -08:00
Evan Almloff 36e9eb1160 partially restore spreading attributes 2024-01-14 15:21:19 -06: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
Evan Almloff 5b6f9d6b80 fix merge 2024-01-06 08:58:49 -06:00
Evan Almloff d5b7a6d15e fix fuzzing test 2023-10-04 08:46:24 -05:00
Evan Almloff ee25c03e74 fix some clippy lints 2023-09-27 10:13:45 -05:00
Evan Almloff 76a050314a make spread example more interesting 2023-09-27 10:05:02 -05:00
Evan Almloff b60671e0fe fix non extending attributes 2023-09-27 10:02:49 -05:00
Evan Almloff 7b51bb8060 WIP: add extends to the props macro 2023-09-26 19:23:00 -05:00
Evan Almloff 5b65c4cfb4 implement spreading props in the rsx macro 2023-09-22 10:04:34 -05:00
Evan Almloff 31cd15d61f fix clippy 2023-09-22 09:31:13 -05:00
Evan Almloff 5ed116b060 fix bounds on generated element extensions 2023-09-22 09:24:00 -05:00
Evan Almloff 0e0819d284 further simplify spread example 2023-09-22 09:19:54 -05:00
Evan Almloff 97035a4482 simplify spread example 2023-09-20 16:36:43 -05:00
Evan Almloff fa494349fe add a lifetime to the properties trait and make the manual spread example work 2023-09-20 16:15:11 -05:00