sycamore-rs / sycamore

A library for creating reactive web apps in Rust and WebAssembly
https://sycamore-rs.netlify.app
MIT License
2.79k stars 148 forks source link

Repace the `Memo` struct with `ReadSignal` #632

Closed lukechu10 closed 12 months ago

lukechu10 commented 12 months ago

Memo used to be a wrapper struct around ReadSignal which did not provide anything extra so this makes everything simpler.

Follow-up to #626

github-actions[bot] commented 12 months ago

Benchmark Report

| wasm-bindgen | baseline | update | diff

########################################################################## 01_run1k | 10.68 | 21.79 | 22.08 | +1.32% 02_replace1k | 16.80 | 34.73 | 34.24 | -1.40%