A dashboard panel shows the time it was last refreshed. Clicking the Refresh button should update the timestamp. The button appears to do nothing — the timestamp never changes
The panel shows "Last refreshed: Never" on load. Clicking Refresh repeatedly has no effect — the timestamp never updates to the current time.
React uses Object.is to compare old and new state. If the new value is identical to the current value, React skips the update entirely — no re-render, no effect.
React uses Object.is to compare old and new state. If the new value is identical to the current value, React skips the update entirely — no re-render, no effect.