thaw/demo_markdown/docs/_guide/development/guide.md
2024-03-14 20:16:09 +08:00

321 B

Development guide

Code style

It is recommended to use the Rust style instead of the functional stule in the newly added reactive code.

RwSignal::new(12) // ✅
create_rw_signal(12) // 🙅

Memo::new(|_| {}) // ✅
create_memo(|_| {}) // 🙅

Effect::new(|_| {}) // ✅
create_effect(|_| {}) // 🙅