Compare commits

..

9 Commits

Author SHA1 Message Date
Greg Johnston
8c10dd0fe1 Check server function name uniqueness at registration time, and stop leaking information by including src file in release mode. 2023-01-26 21:41:33 -05:00
Greg Johnston
e883d9589c Fix broken links and other issues in docs 2023-01-26 21:34:37 -05:00
Greg Johnston
203c032546 Document which types are provided as contexts in server integrations 2023-01-26 21:21:16 -05:00
Greg Johnston
57ac135cdc Add "Is it production ready?" to FAQs 2023-01-26 21:01:28 -05:00
Greg Johnston
ebd1f7f44e Document need to enable features on leptos_router and leptos_meta 2023-01-26 20:57:12 -05:00
Greg Johnston
5df8f84403 Restore missing CSR READMEs 2023-01-26 20:54:46 -05:00
Greg Johnston
c454c39975 Fix example links in docs 2023-01-26 20:54:38 -05:00
Greg Johnston
4467bd17f7 Suppress warning for unused cx in server function arguments 2023-01-26 20:16:25 -05:00
Greg Johnston
a9e9bd9344 implements From<Signal<T>> for MaybeSignal<T> 2023-01-26 20:09:17 -05:00
4 changed files with 4 additions and 4 deletions

View File

@@ -169,7 +169,7 @@ attr_type!(f64);
attr_type!(char);
#[cfg(all(target_arch = "wasm32", feature = "web"))]
pub(crate) fn attribute_expression(
pub fn attribute_expression(
el: &web_sys::Element,
attr_name: &str,
value: Attribute,

View File

@@ -67,7 +67,7 @@ impl<T: IntoClass> IntoClass for (Scope, T) {
}
#[cfg(all(target_arch = "wasm32", feature = "web"))]
pub(crate) fn class_expression(
pub fn class_expression(
class_list: &web_sys::DomTokenList,
class_name: &str,
value: bool,

View File

@@ -77,7 +77,7 @@ prop_type!(f64);
prop_type!(bool);
#[cfg(all(target_arch = "wasm32", feature = "web"))]
pub(crate) fn property_expression(
pub fn property_expression(
el: &web_sys::Element,
prop_name: &str,
value: JsValue,

View File

@@ -20,6 +20,7 @@ prettyplease = "0.1"
proc-macro-error = "1"
proc-macro2 = "1"
quote = "1"
serde = "1"
syn = { version = "1", features = ["full"] }
syn-rsx = "0.9"
uuid = { version = "1", features = ["v4"] }
@@ -32,7 +33,6 @@ convert_case = "0.6.0"
[dev-dependencies]
log = "0.4"
typed-builder = "0.11"
leptos = { path = "../leptos" }
[features]
default = ["ssr"]