Commit c5cab50
Arpith Siromoney
Optimize: Only fetch labels needed for UI (favorites, reading-list)
Previously fetched ALL labels including 'read' (999KB!) just to check
if articles are in favorites/reading-list. Now only fetch the 2 labels
actually used in ArticleActions component.
Expected improvement: ~1MB less data transferred on page load1 parent 3900f1e commit c5cab50
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
0 commit comments