diff --git a/notes/SOLVEDPROBLEMS.md b/notes/SOLVEDPROBLEMS.md index e7c58aecf..039afddeb 100644 --- a/notes/SOLVEDPROBLEMS.md +++ b/notes/SOLVEDPROBLEMS.md @@ -355,3 +355,8 @@ fn component(ctx: Context, props: &Props) -> DomTree { ``` The DomTree object purely represents a viewable "key". It also forces components to use the "view" function as there is no other way to generate the DomTree object. Because the DomTree is a required type of FC, we can guarantee the same usage and flow patterns for all components. + + +## Events + +Events are finally in! To do events properly, we are abstracting over the event source with synthetic events. This forces 3rd party renderers to create the appropriate cross-platform event diff --git a/packages/web/Cargo.toml b/packages/web/Cargo.toml index 0321fddd9..3a4d41d0f 100644 --- a/packages/web/Cargo.toml +++ b/packages/web/Cargo.toml @@ -3,11 +3,12 @@ name = "dioxus-web" version = "0.0.0" authors = ["Jonathan Kelley "] edition = "2018" - +description = "Dioxus VirtualDOM renderer for the web browser using websys" +license = "MIT/Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus-core = { path = "../core" } +dioxus-core = { path = "../core", version = "0.1.0" } js-sys = "0.3" wasm-bindgen = "0.2.69" # wasm-bindgen = "0.2.70" @@ -20,6 +21,7 @@ fxhash = "0.2.1" pretty_env_logger = "0.4.0" console_error_panic_hook = "0.1.6" generational-arena = "0.2.8" +wasm-bindgen-test = "0.3.21" # html-validation = { path = "../html-validation", version = "0.1.1" } [dependencies.web-sys] diff --git a/packages/web/examples/jackjill.rs b/packages/web/examples/jackjill.rs index e5484fea5..b97fcb1ef 100644 --- a/packages/web/examples/jackjill.rs +++ b/packages/web/examples/jackjill.rs @@ -39,14 +39,14 @@ static Example: FC<()> = |ctx, props| { // Control buttons