FlashcardNot attempted
Version skew
Recall it before you reveal
What is version skew, and what two forms does it take after a deploy?
Space to reveal
Show answer & explanation
An open tab keeps running the JavaScript it loaded, possibly for hours, while the server has moved on to a new deploy. Nothing breaks until the old code needs something from the server:
1. Assets: the old code asks for a lazy chunk by its old hashed name. If the deploy removed old files, it gets a 404 and the import fails (webpack ChunkLoadError; native import(): a TypeError such as "Failed to fetch dynamically imported module").
2. API: the old code calls the new backend with old assumptions (a renamed field, a removed endpoint).
Code already loaded keeps working, because it is in memory.