Greg Johnston
|
10799c33b7
|
Properly dispose
|
2022-12-12 21:17:38 -05:00 |
|
Greg Johnston
|
58d2ce113d
|
Use Scope -based hydration key generation
|
2022-12-12 20:55:41 -05:00 |
|
Jose Quesada
|
2c9eff3659
|
impl IntoView for all std types that made sense
|
2022-12-12 14:45:10 -06:00 |
|
Jose Quesada
|
ce5355d73f
|
impl IntoView for `Vec<impl IntoView>
|
2022-12-12 13:52:41 -06:00 |
|
Jose Quesada
|
e2ef293d19
|
added IntoFragment trait for all IntoIterator and also impl FromIterator for Fragment
|
2022-12-12 13:39:41 -06:00 |
|
Jose Quesada
|
0b11a8dda6
|
fixed compilation on non-CSR targets
|
2022-12-12 12:26:11 -06:00 |
|
Jose Quesada
|
5881fb9064
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-12 12:18:29 -06:00 |
|
Jose Quesada
|
9dbbb26100
|
made is_server and helpers const fn and added View::into_html_element helper
|
2022-12-12 12:18:15 -06:00 |
|
Greg Johnston
|
4a1d16b641
|
Properly reset ID in streaming
|
2022-12-12 10:24:55 -05:00 |
|
Greg Johnston
|
c4eeb4f39f
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-12 09:49:22 -05:00 |
|
Greg Johnston
|
37ab7b34f9
|
Fix imports when in SSR mode so we don't run wasm-bindgen code
|
2022-12-12 09:49:15 -05:00 |
|
Greg Johnston
|
c4cc3e944b
|
Merge in changes from main
|
2022-12-12 09:26:46 -05:00 |
|
Jose Quesada
|
ff21f38626
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-12 07:29:51 -06:00 |
|
Jose Quesada
|
9bc8492245
|
removed impl of IntoView for &str and replaced with &'static str for Cow<'static, str> opt
|
2022-12-12 07:29:35 -06:00 |
|
Greg Johnston
|
2389cec5f7
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-11 20:21:35 -05:00 |
|
Jose Quesada
|
811449d664
|
stopped DynChild from panicking when nested DynChild run within the same signal trigger but the parent runs before this child
|
2022-12-11 17:36:19 -06:00 |
|
Greg Johnston
|
b9e8777bb1
|
Update <For/> API
|
2022-12-11 17:35:46 -05:00 |
|
Jose Quesada
|
ff026ea953
|
addressed clippy lints in release mode
|
2022-12-11 13:27:52 -06:00 |
|
Jose Quesada
|
9eb1f2fdf8
|
addressed clippy lints
|
2022-12-11 13:22:01 -06:00 |
|
Jose Quesada
|
06538ba021
|
fixed DynChild when changing from Text to anything else
|
2022-12-11 13:06:54 -06:00 |
|
Jose Quesada
|
14c6dcf902
|
now surrounding View::Text with quotes
|
2022-12-11 12:57:54 -06:00 |
|
Jose Quesada
|
a15dedb82d
|
impl new fmt::Debug repr for View
|
2022-12-11 12:43:58 -06:00 |
|
Greg Johnston
|
d30de9abce
|
Add Transparent type to pass arbitrary data inside a View
|
2022-12-10 22:11:39 -05:00 |
|
Greg Johnston
|
f459253cdb
|
Clear warning here and add explanation
|
2022-12-10 21:05:13 -05:00 |
|
Greg Johnston
|
335c040702
|
Implement IntoView for same set of primitive types
|
2022-12-10 19:33:56 -05:00 |
|
Greg Johnston
|
a4e5bf03d8
|
Start implementing IntoView for primitives
|
2022-12-10 19:28:28 -05:00 |
|
Jose Quesada
|
315407b866
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-10 15:32:51 -06:00 |
|
Jose Quesada
|
d22fa3c5e7
|
removed IntoChild
|
2022-12-10 15:32:36 -06:00 |
|
Greg Johnston
|
6d24af7748
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-10 16:22:55 -05:00 |
|
Jose Quesada
|
74ea50a293
|
fixed Component::new to take anything that impl IntoView
|
2022-12-10 13:50:05 -06:00 |
|
Greg Johnston
|
4a9f906571
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-10 14:09:43 -05:00 |
|
Greg Johnston
|
6db086c0a6
|
Meant to delete this, not comment it out
|
2022-12-10 14:06:42 -05:00 |
|
Greg Johnston
|
a7da8232a7
|
I was wrong -- these will be automatically disposed by the parent scope in the correct order, and actually shouldn't be done manually
|
2022-12-10 14:06:18 -05:00 |
|
Jose Quesada
|
a5f868915a
|
added trait for converting impl AsRef<web_sys::Element> to HtmlElement<AnyElement>
|
2022-12-10 12:16:08 -06:00 |
|
Jose Quesada
|
237bacc2da
|
addressed all clippy lints
|
2022-12-10 10:50:01 -06:00 |
|
Jose Quesada
|
11720302a2
|
addressed all clippy lints for web targets
|
2022-12-10 09:54:49 -06:00 |
|
Jose Quesada
|
e097ec84c2
|
started addressing clippy lints and fixed an undiscovered bug
|
2022-12-10 08:40:24 -06:00 |
|
Greg Johnston
|
a7c16c9b09
|
Implement PartialEq and Eq for View
|
2022-12-10 07:37:07 -05:00 |
|
Greg Johnston
|
1b8db4d4f4
|
"Implement Clone on View and its affiliates. Necessary for <Transition/> and some routing features. No significant changes needed, every type involved could already derive Clone .
|
2022-12-09 22:17:26 -05:00 |
|
Jose Quesada
|
dd16890021
|
Component now creating child scope, forgot about this
|
2022-12-09 18:58:38 -06:00 |
|
Jose Quesada
|
a17651fe02
|
removed the workspace override
|
2022-12-09 18:00:06 -06:00 |
|
Jose Quesada
|
094492f076
|
impl IntoChild for tuples up to 26 in size
|
2022-12-09 17:13:37 -06:00 |
|
Jose Quesada
|
6d5994f72e
|
removed TopoId
|
2022-12-09 17:08:11 -06:00 |
|
Jose Quesada
|
641a064200
|
removed IntoEach until we can come up with a better game plan
|
2022-12-09 17:04:32 -06:00 |
|
Jose Quesada
|
c83f29be1b
|
fix DynChild saving it's old child, rather than the new one
|
2022-12-09 16:46:02 -06:00 |
|
Jose Quesada
|
bd3cc0b5ec
|
fix DynChild trying to render old child rather than new one
|
2022-12-09 16:17:37 -06:00 |
|
Jose Quesada
|
1ee9c2432b
|
impl IntoView for tuples of up to 26 fields as well as for (Scope, T)
|
2022-12-09 11:29:46 -06:00 |
|
Jose Quesada
|
b0c27c48f6
|
updated example to work with new Each
|
2022-12-09 10:49:15 -06:00 |
|
Jose Quesada
|
c74a8274f2
|
removed child scope creation within Each
|
2022-12-09 10:44:05 -06:00 |
|
Jose Quesada
|
2ceb7f8934
|
fixed Fragment which would try mounting it's children while hydrating
|
2022-12-09 10:03:08 -06:00 |
|