You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/pages/docs/usage/dates-times.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ function FormattedDate({date}) {
94
94
95
95
In contrast to simply calling `new Date()` in your component, `useNow` has some benefits:
96
96
97
-
1. The returned value is consistent across re-renders.
97
+
1. The returned value is consistent across re-renders on the client side.
98
98
2. The value can optionally be [updated continuously](#relative-times-update) based on an interval.
99
99
3. The value can optionally be initialized from a [global value](/docs/usage/configuration#now), e.g. allowing you to use a static `now` value to ensure consistency when running tests.
0 commit comments