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.