[Content]: Memos explanation and examples issues
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
📚 Subject area/topic
Memos
📋 Page(s) affected (or suggested, for new content)
https://docs.solidjs.com/concepts/derived-values/memos
📋 Description of content that is out-of-date or incorrect
-
The difference in behavior between memos and derived signals isn't clear enough, which makes it harder to understand when to use memos instead of derived signals
-
The side effect example doesn't cause an infinite loop but the sentence right above and below it talks about infinite loops which is a little confusing. The reader might think that the example code does cause an infinite loop even though it doesn't
-
The "Keep logic in memos" example doesn't behave the way it says, the memo will rerun every time count() changes
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
https://playground.solidjs.com/anonymous/53b087c4-7620-4a79-a60e-9477782856f5
- 主要语言
- MDX
- 星标
- 292
- 派生
- 361
- 平均合并
- 7 小时 51 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
solidjs/solid-docs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
solidjs/solid-docs#1635 ·
-
good first issue solid solidstart
难度 2/5 1-3 小时 新手友好度 62/100
solidjs/solid-docs#1522 ·
-
pending review
solidjs/solid-docs#1637 · 已指派 1 人 ·
-
pending review
solidjs/solid-docs#1636 · 1 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 52/100
solidjs/solid-docs#1630 · 1 条评论 ·