Skip to content

Conversation

@ra1028
Copy link
Owner

@ra1028 ra1028 commented Apr 19, 2024

Pull Request Type

  • Bug fix
  • New feature
  • Refactoring
  • Documentation update
  • Chore

Description

We've chosen to override the custom reset & refresh when the atom value is overridden to avoid the complexity of testing the atom. But changed my mind that as it is really implicit behavior and also would make some test scenarios impossible.
Thus, this PR makes it not override the custom reset & refresh behavior and simply calls it even if it is overridden.
It also includes some internal refactoring around ephemeral state that can be created when calling custom reset or while refreshing atoms.

@ra1028 ra1028 merged commit 7dc2744 into main Apr 19, 2024
@ra1028 ra1028 deleted the feat/do-not-override-custom-reset-refresh branch April 19, 2024 08:53
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