solidjs / solidjs/solid-docs

[Content]: Memos explanation and examples issues

オープン
#541 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

まだ誰も着手していません。

in progress solid
主要言語
MDX
スター
292
フォーク
361
平均マージ
7時間 51分
マージ済み PR(30日)
1

説明

📚 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。