Commit 395068a
committed
fix(calendar): prevent excessive fetching on client reload
- Only trigger `fetchCalendar()` when creating a new fetcher instance
- When reusing an existing fetcher, broadcast cached events without forcing a new fetch
- Prevents hitting rate limits (fix(calendar): prevent excessive fetching on client reload1 parent d507aba commit 395068a
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
0 commit comments