Skip to content

Commit

Permalink
Optimize perfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo mathieu committed Mar 23, 2016
1 parent 86cd363 commit f388560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Data.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import React from 'react-native';
import minimongo from 'minimongo-cache';
process.nextTick = setImmediate;

const db = new minimongo();
db.debug = false;
db.batchedUpdates = React.addons.batchedUpdates;

export default {
_endpoint: null,
Expand Down

0 comments on commit f388560

Please sign in to comment.