hey !
this
const buildPostQuery =
({ id }: { id?: string }) =>
() =>
createFetcherStore<PostType>(id ? `posts.get?id=${id}` : [])
still fires!
from the docs:
if any atom value is either NoKey, we never call the fetcher—this is the conditional fetching technique we have;
is it really only atoms in key list that can prevent fetch (when NoKey)? can you not have any of the raw NoKey values
type NoKey = null | undefined | void | false;
to prevent fetch?
fwiw an enabled option would be awesome!
hey !
this
still fires!
from the docs:
is it really only atoms in key list that can prevent fetch (when
NoKey)? can you not have any of the rawNoKeyvaluesto prevent fetch?
fwiw an
enabledoption would be awesome!