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

docs: clarify getOnInit being false #2391

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

henrikvilhelmberglund
Copy link
Contributor

Related Issues or Discussions

Fixes #2240 confusion

Summary

Clarify that getOnInit is false by default and can be set to true in an SPA to get the stored value instead of the initial value.

Check List

  • yarn run prettier for formatting code and docs

yarn run prettier caused 100 invisible changes so I didn't commit the result.

Copy link

vercel bot commented Feb 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jotai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 10, 2024 4:13pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5a09b3a:

Sandbox Source
React Configuration
React TypeScript Configuration
React Browserify Configuration
React Snowpack Configuration
Next.js Configuration
Next.js with custom Babel config Configuration
React with custom Babel config Configuration
optimistic-currying-qfx48f Issue #2240

Copy link

LiveCodes Preview in LiveCodes

Latest commit: 5a09b3a
Last updated: Feb 10, 2024 4:13pm (UTC)

Playground Link
React demo https://livecodes.io?x=id/8RMD4AU6U

See documentations for usage instructions.

Copy link
Member

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@dai-shi dai-shi merged commit 358c39f into pmndrs:main Feb 11, 2024
34 checks passed
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.

Cann't access atomWithStorage value in spa initial
2 participants