Installation
Installation
To install, use npm
or yarn
. The lib has a peer dependency of mobx
4.1.0 or later.
npm install datx mobx --save
yarn add datx mobx
Since the lib is exposed as a set of CommonJS modules, you'll need something like webpack or browserify in order to use it in the browser.
Don't forget to prepare your code for production for better performance!
Polyfilling
The lib makes use of the following features that are not yet available everywhere. Based on your browser support, you might want to polyfill them: