本页还没有译文
本页 21 段还没译成日本語,下面显示的是英文原文。makeStateUpdater
还没翻译译自英文(tanstack.com)本页 21 段都还没译
function makeStateUpdater<TFeatures, K>(key, instance): (updater) => void;Defined in: utils.ts:97
Creates a table state updater for a single state slice.
The updater writes through the table base atom for the slice and supports both value and functional updater forms.
Type Parameters
TFeatures
TFeatures extends TableFeatures
K
K extends string | number | symbol | string & object
Parameters
key
K
instance
baseAtoms
object
options
{
atoms?: object;
}
options.atoms?
object
Returns
(updater) => void
AI 翻译查看英文原文