Skip to content

Uncaught TypeError: (0 , _deepObjectDiff2.default) is not a function #4

@lardois

Description

@lardois

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions