Redux Toolkit · Function
freeze
freeze is an Immer function re-exported by Redux Toolkit. It freezes draftable objects to help prevent mutation.
Last updated
Syntax
freeze(value)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
createNextStatecurrentoriginalisDraftcombineReducerscompose