From f388560bce196e8a660122534cc7e53b92338127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=CC=81o=20mathieu?= Date: Wed, 23 Mar 2016 16:51:12 -0400 Subject: [PATCH] Optimize perfs --- src/Data.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Data.js b/src/Data.js index bb9d3b9..7f0b753 100644 --- a/src/Data.js +++ b/src/Data.js @@ -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,