thaw/demo_markdown/docs/_guide/development/guide.md
Jim Calabro 7473a0be12
Fix Typo in guide.md (#183)
* Fix Typo in guide.md

* reduce diff
2024-04-26 10:25:06 +08:00

16 lines
No EOL
321 B
Markdown

# Development guide
### Code style
It is recommended to use the Rust style instead of the functional style in the newly added reactive code.
```rust
RwSignal::new(12) // ✅
create_rw_signal(12) // 🙅
Memo::new(|_| {}) // ✅
create_memo(|_| {}) // 🙅
Effect::new(|_| {}) // ✅
create_effect(|_| {}) // 🙅
```