A live YouTube search was always dropped on reload so it could never re-spend quota. But the default scrape source costs no quota, so there's no reason to bounce the user back to the feed — they can stay on their results. Feed now stamps history.state._ytScrape=true once a search resolves via the scrape source; App restores _yt on reload only when that flag is set (and re-runs the search, which is free). An api-source search is left unmarked and still drops to the feed on reload, since re-fetching it would cost ~100 units. The flag is cleared when a new search starts (Feed re-stamps it once the new results' source is known). |
||
|---|---|---|
| .. | ||
| public/welcome | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||