v2.0.0
-
Change hooks state implementation, move from separate individual states [
seconds,minutes,hours,days] to singlesecondsstate 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 -
Fix update
formatprops inuseTime -
Code enhancement: move all validation functions to
Validateutil -
Code enhancement: Create
Timeutil to handle seconds to time conversion and time formatting -
Code enhancement: add linter and fix all lint errors