More fullstack fixes (#4737)
* allow `--server` only builds! * rollback example * capture `/:route` routes * fix: properly implement file uploads in forms * implement desktop form uploads * Performant serialization of form bytes * finish up file stuff * cleanups * add request headers to streaming context * remove some unwraps
This commit is contained in:
1 parent
fc01a002fd
commit
92792aded9
47 files changed
+1241
-703
No files matched your search
@@ -32,13 +32,10 @@ pub mod minimal_bindings {
|
||||
/// Some useful snippets that we use to share common functionality between the different platforms we support.
|
||||
///
|
||||
/// This maintains some sort of consistency between web, desktop, and liveview
|
||||
#[wasm_bindgen(module = "/src/js/common.js")]
|
||||
#[wasm_bindgen(module = "/src/js/set_attribute.js")]
|
||||
extern "C" {
|
||||
/// Set the attribute of the node
|
||||
pub fn setAttributeInner(node: JsValue, name: &str, value: JsValue, ns: Option<&str>);
|
||||
|
||||
/// Roll up all the values from the node into a JS object that we can deserialize
|
||||
pub fn retrieveFormValues(node: JsValue) -> JsValue;
|
||||
}
|
||||
|
||||
#[wasm_bindgen(module = "/src/js/hydrate.js")]
|
||||
|
||||
Reference in new issue
Block a user