mobx#configure JavaScript Examples

The following examples show how to use mobx#configure. 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: jestSetup.js    From lens-extension-cc with MIT License 5 votes vote down vote up
configure({
  // necessary in order to use jest.spyOn()
  // @see https://github.com/mobxjs/mobx/issues/2784
  safeDescriptors: false,
});
Example #2
Source File: LabelStudio.js    From label-studio-frontend with Apache License 2.0 5 votes vote down vote up
configure({
  isolateGlobalState: true,
});
Example #3
Source File: app.js    From albedo with MIT License 5 votes vote down vote up
configure({enforceActions: 'never'})