There is counter on page. To avoid re-rendering the entire Parent component every second, the counter is placed in a separate Child component.
Parent
Child