HF RL Explorer

Feature Request: atomWithRefresh built-in utility

Feature Request: atomWithRefresh built-in utility: a task in LegoFlow-SWE (Harbor dataset). Currently, there is no built-in atomWithRefresh utility in Jotai. Developers must rely on copying a community recipe to create an atom whose read function can be forcefully re-evaluated on demand. We need…

The task

Currently, there is no built-in `atomWithRefresh` utility in Jotai. Developers must rely on copying a community recipe to create an atom whose read function can be forcefully re-evaluated on demand. We need an official `atomWithRefresh` utility in `jotai/vanilla/utils` (and re-exported from `jotai/utils`) to provide…

Part of Lego-X/LegoFlow-SWE.