rendering the time when a post was posted on react code example Example: react js date ago $ npm install react-time-ago --save