To install, use
yarn. The lib has a peer dependency of
mobx 4.2.0 or later.
npm install datx@2 mobx --save
yarn add datx@2 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!
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: