solidjs / solidjs/solid-docs

[Content]: Memos explanation and examples issues

Open
#541 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

in progress solid
Dominant language
MDX
Stars
292
Forks
361
Avg merge
7h 51m
Merged PRs (30d)
1

Description

๐Ÿ“š 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up โ€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.