Skip to content

Commit

Permalink
react: remove batch mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Jun 9, 2019
1 parent 865c3b4 commit 3ae2575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export * from './hooks/index'
export * from './context/index'

export const store = function(obj, options = {}) {
return hyperactiv.observe(obj, Object.assign({ deep: true, batch: true }, options))
return hyperactiv.observe(obj, Object.assign({ deep: true, batch: false }, options))
}

0 comments on commit 3ae2575

Please sign in to comment.