Commit Graph
2 Commits
Author SHA1 Message Date
koti d45a71ba54 Fix for Counters sample code in Readme (#2213)
* Fix for Counters sample code in Readme

For leptos code, there is no need for Memorization here. As memorization of the values of the text nodes in the renderer already happens.

* Reverted to Memo
2024-04-01 11:31:01 -05:00
kotiandEvan Almloff 57e05dcf3a Fix for Counters sample code in README (#2209)
* Fix for Counters sample code in README.md

Fix for Counters sample code in README. It was throwing syntax errors.

* Update README.md

Fix

* slightly simplify counter example with the writable vec extension trait

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-01 08:20:32 -05:00