I need the ability to persist the window object. I tried to stringify the window object but I received and error when trying to convert the window object to JSON. \"Converting
You can't persist a window object in local storage.
You can only store data in the form of strings in local storage, and there is no way to turn the window object into a string so that you can recreate the same window object.