Frontend System Design Essentials: Client Schema Drift Explained

I Code It
1,356 views β€’

πŸ‘‰ Frontend System Design Essentials β€” Course: https://icodeit.thinkific.com/courses/frontend-system-design-essentials πŸ‘‰ Frontend System Design Essentials β€” Book: https://leanpub.com/frontend-system-design-essentials/ We spend a lot of time on backend API contracts, database migrations, and backward compatibility. But there is a hidden data store we often change without enough thought: localStorage. When you change the shape of data in the browser, that is a schema change β€” except you cannot run one migration for every user device, and you cannot undo a value once it is written. In this video I recreate a real production failure using a board app. A simple assignee-filter feature goes from a CSV string to a JSON object. The deploy looks fine. The rollback looks fine. The app can still be broken. 00:00 localStorage is a schema change 01:21 About the channel 01:37 The feature β€” Version 1 (CSV) 03:32 Changing the format β€” Version 2 (JSON) 05:45 Why this is easy to miss 06:23 Rollback failure β€” old code, new data 08:27 A better mental model 09:14 How to make it safer 09:24 Pattern 1 β€” Defensive reading 10:51 Pattern 2 β€” Version tag 12:14 Pattern 3 β€” Key versioning 13:23 Summary πŸ“˜ MY BOOKS & COURSES πŸ‘‰ Frontend System Design Essentials (Course): https://icodeit.thinkific.com/courses/frontend-system-design-essentials πŸ‘‰ Frontend System Design Essentials (Book): https://leanpub.com/frontend-system-design-essentials/ πŸ‘‰ React Anti-Patterns (Amazon): https://www.amazon.com/dp/1805123971 πŸ‘‰ More Tutorials on Advanced Patterns: https://icodeit.com.au/tutorials/advanced-network-patterns-react πŸ“© STAY CONNECTED 🧠 Newsletter (system design & clean code): https://juntao.substack.com 🌐 Website & Blog: https://icodeit.com.au 🐦 Twitter / X: http://twitter.com/JuntaoQiu πŸ“Ί YouTube (subscribe): https://www.youtube.com/@icodeit.juntao --- #frontend #systemdesign #localStorage #webdevelopment #react #frontendarchitecture #deployment #rollback #seniordeveloper

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close