You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add ability to implement custom refresh
* Rename AtomUpdatedContext to AtomCurrentContext
* Update docc
* Rename dir name
* Add test cases
* Update README
* Add API documentation
* Fix test case
It's also useful when you want to expose a converted value of an atom as another atom with having refresh ability while keeping the original one private visibility.
782
+
In this example, `FetchMoviesPhaseAtom` transparently exposes the value of `FetchMoviesTaskAtom` as AsyncPhase so that the error can be handled easily inside the atom, and `Refreshable` gives refreshing ability to `FetchMoviesPhaseAtom` itself.
0 commit comments