Why is LocalStorage considered bad for application performance?
LocalStorage operates synchronously on the main thread. If you attempt to stringify and save a massive 2MB JSON object, the entire browser tab will visually freeze until the disk-write completes, leading to horrible user experiences.