Greg Johnston
|
54b7b780c8
|
(Some of?) these debug assertions seem to break the release build
|
2022-11-28 21:37:47 -05:00 |
|
Jose Quesada
|
a638c3d39a
|
removed superfluous console::log
|
2022-11-28 19:13:46 -06:00 |
|
Jose Quesada
|
ebb50cff6c
|
fixed building on non-browser targets
|
2022-11-28 19:04:00 -06:00 |
|
Jose Quesada
|
9424c293d7
|
fixed ops conflicting with each other
|
2022-11-28 18:49:06 -06:00 |
|
Jose Quesada
|
0b72c5550b
|
fixed Each clear opt
|
2022-11-28 17:26:48 -06:00 |
|
Jose Quesada
|
698527ddf6
|
fixed building in release
|
2022-11-28 15:02:09 -06:00 |
|
Jose Quesada
|
af067361a9
|
checking to make sure children is not empty before applying replace opt
|
2022-11-28 14:19:31 -06:00 |
|
Jose Quesada
|
04aa1585fa
|
optimized the case of replacing all items in an Each
|
2022-11-28 14:04:14 -06:00 |
|
Jose Quesada
|
9e84a2c273
|
Each now optimized for clearing
|
2022-11-28 13:30:37 -06:00 |
|
Jose Quesada
|
9050572c68
|
EachItem is now removing it's direct children
|
2022-11-28 13:21:13 -06:00 |
|
Jose Quesada
|
40c6081256
|
DynChild is now responsible for removing it's direct children rather than relying on WebSysNode
|
2022-11-28 13:12:22 -06:00 |
|
Jose Quesada
|
484e6796c0
|
Component now creating a child scope`
|
2022-11-28 08:59:35 -06:00 |
|
Greg Johnston
|
fdef43c2fc
|
Small performance optimizations: wasm-bindgen string interning and cached document() (+ a function to mount to any parent)
|
2022-11-28 08:45:09 -05:00 |
|
Greg Johnston
|
90854e38e6
|
Add event system
|
2022-11-27 19:42:37 -05:00 |
|
Jose Quesada
|
8fac1c5b3a
|
greatly improved tracing visibility
|
2022-11-27 17:17:24 -06:00 |
|
Jose Quesada
|
6439964ef6
|
made children field of Component pub and added Component example to examples/test-bench
|
2022-11-27 11:57:35 -06:00 |
|
Jose Quesada
|
5b612d8084
|
fixed Component not mounting children on into_node calls
|
2022-11-27 11:46:36 -06:00 |
|
Jose Quesada
|
b2d9bc4aa8
|
removed duplicate value, as duplicate keys are invalid
|
2022-11-27 11:34:35 -06:00 |
|
Jose Quesada
|
f615dae87c
|
applied new rustfmt config and added HtmlElement::dyn_attr
|
2022-11-27 11:32:18 -06:00 |
|
Jose Quesada
|
79058e1535
|
impl IntoNode for [Node; N] and `[HtmlElement<El>; N]
|
2022-11-27 09:49:57 -06:00 |
|
Jose Quesada
|
a51c12d152
|
added HtmlElement::attr_bool helper method
|
2022-11-27 09:45:38 -06:00 |
|
Jose Quesada
|
8999a24ec3
|
can now set id and attrs
|
2022-11-27 09:34:19 -06:00 |
|
Jose Quesada
|
da1916e35a
|
renamed Each to EachKey
|
2022-11-27 07:29:17 -06:00 |
|
Jose Quesada
|
b1987648cf
|
addressed most clippy lints
|
2022-11-27 07:20:33 -06:00 |
|
Jose Quesada
|
001323c058
|
fixed compilation on non-browser targets
|
2022-11-27 07:09:07 -06:00 |
|
Jose Quesada
|
55633560e7
|
Each is now fully working
|
2022-11-26 20:59:54 -06:00 |
|
Jose Quesada
|
be60713b13
|
updated prepare_for_move to use Range
|
2022-11-26 19:36:25 -06:00 |
|
Jose Quesada
|
000a4bf62d
|
initial (broken move) impl of Each
|
2022-11-26 18:49:51 -06:00 |
|
Jose Quesada
|
68938054ca
|
removed name and rename from DynChild
|
2022-11-26 09:37:56 -06:00 |
|
Jose Quesada
|
368b96424d
|
refactored components to not render as many comments in prod
|
2022-11-26 09:33:57 -06:00 |
|
Jose Quesada
|
c5da652ac1
|
renamed Fragment representation from <Frgament> to <>
|
2022-11-26 07:17:12 -06:00 |
|
Jose Quesada
|
38f71a3cc9
|
impl Default for all HTML tags
|
2022-11-26 07:16:15 -06:00 |
|
Jose Quesada
|
2d21146665
|
basic CSR is working
|
2022-11-25 17:39:42 -06:00 |
|
Jose Quesada
|
24b1fc01ca
|
added impl IntoNode for most types IntoChild supported
|
2022-11-25 14:37:47 -06:00 |
|
Jose Quesada
|
fbfdb9fd15
|
now collecting Scope only on `IntoNode::into_node
|
2022-11-25 13:10:51 -06:00 |
|
Jose Quesada
|
54074409ab
|
only std::prelude clashing structs should have a trailing _
|
2022-11-25 07:39:15 -06:00 |
|
Jose Quesada
|
e738c5c41f
|
forgot to redirect docs to the builder fn
|
2022-11-24 21:37:46 -06:00 |
|
Jose Quesada
|
d3ec86ab18
|
added all HTML elements
|
2022-11-24 21:35:40 -06:00 |
|
Jose Quesada
|
ce5b8f95e7
|
forgot to insert opening and closing component marker nodes into the document fragment
|
2022-11-24 16:57:44 -06:00 |
|
Jose Quesada
|
6bb20aed15
|
initial API design
|
2022-11-24 14:45:31 -06:00 |
|
Jose Quesada
|
9b3c9eb90b
|
clean slate
|
2022-11-24 09:16:57 -06:00 |
|
Greg Johnston
|
e465867b30
|
Fixes issue #110 and improves #[component] docs overall
|
2022-11-24 07:48:57 -05:00 |
|
Greg Johnston
|
835c465c34
|
T in For component does *not* need to be Eq
|
2022-11-24 06:41:15 -05:00 |
|
Greg Johnston
|
45e2c09e53
|
Merge pull request #114 from safx/typed-event-handlers
Add typed event handlers
|
2022-11-23 19:04:32 -05:00 |
|
Greg Johnston
|
19d7b8434b
|
Merge branch 'main' into typed-event-handlers
|
2022-11-23 19:03:52 -05:00 |
|
Greg Johnston
|
6949750668
|
Fixing tests and examples
|
2022-11-23 18:29:20 -05:00 |
|
Greg Johnston
|
588ebf51a5
|
Fix event type in router
|
2022-11-23 16:54:45 -05:00 |
|
Greg Johnston
|
3a65ad9a51
|
Fix type inference on server
|
2022-11-23 16:54:41 -05:00 |
|
Greg Johnston
|
7a10ffd150
|
A couple small DX improvements re: we, and making sure it builds /tests properly
|
2022-11-23 15:12:21 -05:00 |
|
Greg Johnston
|
a23d80fe27
|
Merge pull request #113 from gbj/dx-improvements
Doc and error message improvements
|
2022-11-23 11:10:20 -05:00 |
|