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

fix(utils): Do not set a splitted atom when not actually modified #2088

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

arnodb
Copy link
Contributor

@arnodb arnodb commented Aug 22, 2023

Related Issues or Discussions

Fixes #2079

Summary

As agreed during the discussion, set should not be called when an item remains unmodified.

Check List

  • yarn run prettier for formatting code and docs

@vercel
Copy link

vercel bot commented Aug 22, 2023

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 Aug 23, 2023 9:57am

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 22, 2023

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 05daf9a:

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

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.

Please check CI errors.

@dai-shi dai-shi changed the title Do not set a splitted atom when not actually modified fix(utils): Do not set a splitted atom when not actually modified Aug 23, 2023
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 added this to the v2.4.0 milestone Aug 23, 2023
@arnodb
Copy link
Contributor Author

arnodb commented Aug 23, 2023

You're welcome.

Shall I update and merge or would you like to do it yourself?

@dai-shi dai-shi merged commit e306723 into pmndrs:main Aug 23, 2023
@arnodb arnodb deleted the fix/discussion-2079 branch August 23, 2023 12:22
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.

2 participants