diff options
| author | Adam Soltys <[email protected]> | 2026-09-24 08:16:17 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-24 08:16:17 -0700 |
| commit | cdca3fa061c856f9063aadfabf1c1e713f512123 (patch) | |
| tree | 79f398e0d9570d7fc9f9947ce8e7de3e4e5024f8 /build.js | |
| parent | 7fae8198ef36396e4c65e66597d8e6e6f74ab1d1 (diff) | |
| download | coinosv3-cdca3fa061c856f9063aadfabf1c1e713f512123.tar.gz coinosv3-cdca3fa061c856f9063aadfabf1c1e713f512123.zip | |
Paint cached thread counts and header hat on refresh
Diffstat (limited to 'build.js')
| -rw-r--r-- | build.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -262,7 +262,9 @@ const ALL_FEATURES = { gifts: 'giftsFeature', ark: 'arkFeature', nostrlogin: 'no // NOT deferrable: ark (balance on the home screen), messages (deep-linked // profiles + the boot shell), gifts is deferrable because app.js awaits the // deferred load before the bootUrl check when the path looks like a gift. -const DEFERRED_FEATURES = ['gifts', 'nwc', 'hats', 'pos']; +// Hats decorate the header avatar on the first frame. Loading their art in a +// later chunk makes the header change after the rest of the page has painted. +const DEFERRED_FEATURES = ['gifts', 'nwc', 'pos']; export function enabledFeatures(spec = process.env.HAL_FEATURES) { if (spec == null) return Object.keys(ALL_FEATURES); |
