immer#enablePatches TypeScript Examples

The following examples show how to use immer#enablePatches. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: useStateTracking.ts    From baleen3 with Apache License 2.0 5 votes vote down vote up
// If used elsewhere move to initialisation code.
enablePatches()
Example #2
Source File: index.ts    From core with MIT License 5 votes vote down vote up
enablePatches();
Example #3
Source File: component.ts    From textbus with GNU General Public License v3.0 5 votes vote down vote up
enablePatches()