mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
7473a0be12
* Fix Typo in guide.md * reduce diff
321 B
321 B
Development guide
Code style
It is recommended to use the Rust style instead of the functional style in the newly added reactive code.
RwSignal::new(12) // ✅
create_rw_signal(12) // 🙅
Memo::new(|_| {}) // ✅
create_memo(|_| {}) // 🙅
Effect::new(|_| {}) // ✅
create_effect(|_| {}) // 🙅