Skip to content

v2.0.0

Compare
Choose a tag to compare
@amrlabib amrlabib released this 15 Jan 16:28
· 139 commits to master since this release
  1. Change hooks state implementation, move from separate individual states [seconds, minutes, hours, days] to single seconds state and calculate rest of time attributes based on seconds only, this will enhance performance and make sure that only 1 render is done every second

  2. Fix update format props in useTime

  3. Code enhancement: move all validation functions to Validate util

  4. Code enhancement: Create Time util to handle seconds to time conversion and time formatting

  5. Code enhancement: add linter and fix all lint errors