1.4.0 • Published 6 years ago

daniloster-utils v1.4.0

Weekly downloads
24
License
MIT
Repository
-
Last release
6 years ago

daniloster-utils

Package to provide utilities functions and procedures.

Utilities available

  1. cancelSwipeNavigation: Cancel browser swipe navigation;
  2. createReducerFunction: Create reducer function based on map and initial state;
  3. Create more accessible event handler manipulation such as document.on('eventNameWitoutOn', handlerFunction) and document.off('eventNameWitoutOn', handlerFunction);
  4. Immutable: Create a readonly object but still enumerable;
  5. invokeRequest: function to perform a request and return the failure as a resolved promise (useful for redux-saga);
  6. isObjectEmpty: verifies if the provided value is an empty object;
  7. shouldComponentUpdate: validate if properties are different in 2 objects: currentProps and nextProps;
1.4.0

6 years ago

1.3.0

6 years ago

1.2.2

6 years ago

1.1.3

6 years ago

1.1.0

6 years ago

1.0.0

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.1

7 years ago