Time-ago Component
"
react-timeago
is a simple component that takes a date prop and returns a span with live updating date in a time-ago format. The date will update only as often as needed.For timestamps below a minute away — every second, for timestamps up to 5 minutes away — every hour, and so on."
Naman Goel