react-timeago v2.1.0 Release Notes
-
- ๐ FEATURE: Added PropType validation. It will now print a warning if you fail to pass in a date, instead of failing silently.
- ๐ BUG-FIX: Pending Timeouts are cleared when the Component is unmounted
- ๐ BUG-FIX: When new Props are passed in, the component will update itself correctly. Now you can flip the live switch on and off.
- ๐ FEATURE: The formatter function gets the original date as the fourth argument, for more custom date formats.