Closed lardois closed 7 years ago
Updated to 1.0.0 from previous version and get following on browser:
Uncaught TypeError: (0 , _deepObjectDiff2.default) is not a function at detectChangedData (http://localhost:8080/files/js/bundle.js:97295:44)
Code goes simply like this:
import diff from 'deep-object-diff'; const detectChangedData = ({ initialValues, currentValues }) => { const base = diff(initialValues, currentValues); return base; };
React/redux project packed with Webpack 1.14.0, running node 7.4.0 and npm 4.0.5..
Sorry just noticed that it has changed to import { diff } from 'deep-object-diff';
import { diff } from 'deep-object-diff';
Updated to 1.0.0 from previous version and get following on browser:
Uncaught TypeError: (0 , _deepObjectDiff2.default) is not a function at detectChangedData (http://localhost:8080/files/js/bundle.js:97295:44)
Code goes simply like this:
React/redux project packed with Webpack 1.14.0, running node 7.4.0 and npm 4.0.5..