Skip to content

v1.3.1

Compare
Choose a tag to compare
@akuzko akuzko released this 20 Mar 22:48
· 18 commits to master since this release

Performance Optimization and Support Improvements

  • Formerly, to guarantee data immutability, form used lodash's cloneDeep method to clone attrs and then update value under potentially deep location. This was very inefficient, since usually lots of not related to update operation values were cloned. In v1.3.1 code is refactored to shallow copy only those collections that contain deeply nested value.
  • Code was refactored to depend only on lodash.get and lodash.set packages to minimize package.
  • If React's PureComponent is not defined, Form extends Component class instead. This should allow to support older versions of React.
  • Minor README update