Skip to content

Commit

Permalink
Improved strict mode support
Browse files Browse the repository at this point in the history
- Tested with latest mobx and mobx-utils
- Tested against `{ enforceActions: "always" }` a.k.a. very strict mode
- Added `getNonReactive` method, a convenient way for unit tests to access the most recent value outside of a reactive context
- Looks like `Reaction` in `mobx` has changed slightly so can no longer support `throttledComputed` synchronously throwing outside reactive contexts; removed a couple of tests for that.
  • Loading branch information
danielearwicker committed Aug 14, 2019
1 parent 203763b commit 0bdc9cf
Show file tree
Hide file tree
Showing 9 changed files with 137 additions and 5,923 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
coverage
built
.DS_Store
Loading

0 comments on commit 0bdc9cf

Please sign in to comment.