From a80e0d69a116207b2db251bf4cab5068f987b665 Mon Sep 17 00:00:00 2001 From: EqualMa Date: Mon, 28 Feb 2022 00:32:33 +0800 Subject: [PATCH] fix(react): remove unused dependencies --- Cargo.lock | 1 - README.md | 8 ++++---- crates/react/Cargo.toml | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ec50a57f..8fafabbf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -264,7 +264,6 @@ dependencies = [ "forgotten", "frender-macros", "js-sys", - "once_cell", "react-sys", "wasm-bindgen", "wasm-bindgen-test", diff --git a/README.md b/README.md index 735273a8..93e05a8e 100644 --- a/README.md +++ b/README.md @@ -33,17 +33,17 @@ Before updating, please see the full [changelog](https://github.com/frender-rs/f frender = "= 1.0.0-alpha.5" ``` -3. Create `index.html` +3. Create `index.html` in the project root directory. ```html - Hello World + My frender App - +
@@ -51,7 +51,7 @@ Before updating, please see the full [changelog](https://github.com/frender-rs/f ``` -4. Modify `main.rs` +4. Modify `src/main.rs` ```rust use frender::prelude::*; diff --git a/crates/react/Cargo.toml b/crates/react/Cargo.toml index d0c22b38..cf851a87 100644 --- a/crates/react/Cargo.toml +++ b/crates/react/Cargo.toml @@ -16,7 +16,6 @@ react-sys = "1.0.0-alpha.23" wasm-bindgen = "0.2.63" forgotten = "1.1" js-sys = "0.3" -once_cell = "1.8" convert-js = "1.0.0-alpha.14" [dependencies.web-sys]