-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug and Update Yew 0.21.0 with some improvements (#51)
* Fix a rendering bug Fix `use_state(|| props.article.clone())` and `props.article` not synchronized in case of partial tab switching * Update dependencies and Add justfile Cargo.toml Update dependencise: Major changes: * Yew: Replace `use_effect_with_deps` with `use_effect_with` * sync with master --------- Co-authored-by: Coylr <[email protected]> Co-authored-by: Jet Li <[email protected]>
- Loading branch information
1 parent
e718e83
commit 2f075eb
Showing
5 changed files
with
58 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env just --justfile | ||
|
||
install-wasm-pack: | ||
cargo install wasm-pack | ||
|
||
install-tauri: | ||
cargo install tauri-cli | ||
|
||
env: | ||
cp .env.example .env | ||
|
||
trunk-serve: | ||
cd crates/conduit-wasm && trunk serve | ||
|
||
build: | ||
cd crates/conduit-wasm && trunk build | ||
|
||
test: | ||
wasm-pack test --headless --chrome | ||
|
||
tauri-dev: | ||
cargo tauri dev | ||
|
||
tauri-build: | ||
cargo tauri build | ||
|
||
create-yew-app: | ||
npx create-yew-app my-app | ||
|
||
serve-app: | ||
cd my-app && trunk serve |