How would you handle hydration and edge cases like invalid JSON or storage limits · InterviewLane