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: src/components/RecentPostsWidget.tsx
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ import { formatPublishedDate } from '~/utils/blog'
5
5
6
6
typeRecentPostsWidgetProps={
7
7
posts?: ReadonlyArray<RecentPost>
8
+
/** Set to false to skip the client fetch when the widget is rendered but not visible (e.g. hidden below a CSS breakpoint). Ignored when `posts` is provided. */
0 commit comments