UNPKG

@zohodesk/utils

Version:

DOT Utils Collection

42 lines (30 loc) 1.01 kB
# DOT - Util Collections In this package, We provide lots of util fuctions for web devlopment # 1.3.16 - `getCurrentTime`, `objectCRUD`, `arrayCRUD`, `deepEqual`, `ArrayManager`, `ObjectManager`, `eventListenerUtils` util added. # 1.3.15 - **renderNodeUtils** - `renderNode` function added to render content that can be either a function or a React element. - `isRenderable` function added to check if the content is renderable (either a function or a valid React element). # 1.3.14 - **StringUtils** - String Utils Methods added # 1.3.13 - `mergeStyle` issue fix # 1.3.12 - `mergeStyle` functionality updated. Composed classes will also update if it is inside that file. ```js // Before const style = mergeStyle( { a: '1', b: '1 2' }, { a: 'a' } ); // style = { a: '1 a', b: '1 2' } // After const style = mergeStyle( { a: '1', b: '1 2' }, { a: 'a' } ); // style = { a: '1 a', b: '1 a 2' } ``` - `compileClassNames` code optimized. Will not support other than object as argument.