Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emphasize the importance of returning the value from createEffect to … #949

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Tur8008
Copy link

@Tur8008 Tur8008 commented Nov 7, 2024

…update the previous value

It was unobvious for me that to have the possibility of comparing the previous and current value it's necessary to return it. So I add the warning comment within the code example.

  • I have read the Contribution guide
  • This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

Related issues & labels

  • Closes #
  • Suggested label(s) (optional):

…update the previous value

It was unobvious for me that to have the possibility of comparing the previous and current value it's necessary to return it. So I add the warning comment within the code example.
Copy link

stackblitz bot commented Nov 7, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit f10b406
🔍 Latest deploy log https://app.netlify.com/sites/solid-docs/deploys/6731b94bc089680008db33fc
😎 Deploy Preview https://deploy-preview-949--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant