Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 650 Bytes

from-lp-utils.md

File metadata and controls

10 lines (8 loc) · 650 Bytes

Migrating from lp-utils

There are several breaking changes between lp-utils v2 and lp-hoc v1:

  1. All non-HOC utils have been removed from the library. You can import validate from lp-form and selectorForSlice from lp-redux-utils. You can also import getDisplayName from recompose and deprecate from util-deprecate.
  2. deprecateComponent has been renamed to deprecate.
  3. componentWithClass has been replaced by the addDefaultClass HOC.
  4. onLoad has been renamed to waitFor
  5. toggle value prop names are now the same as the argument, rather than <argument>Active
  6. getSet props now override passed props.