formatRelative kept current: 5 minutes ago becomes 6 minutes ago without the caller re-rendering. For text composed into a larger string; a standalone label is a Timestamp with variant='relative'.
5 minutes ago
6 minutes ago
variant='relative'
formatRelative kept current:
5 minutes agobecomes6 minutes agowithout the caller re-rendering. For text composed into a larger string; a standalone label is a Timestamp withvariant='relative'.