My (admittedly unusual) app architecture calls for running a re-frame app inside a sandboxed iframe. That works fine, but trying to add re-frame-10x during development causes errors.
re-frame-10x uses LocalStorage for saving various settings, and access to LocalStorage is blocked for sandboxed iframes.
It would be great if that code was tweaked to fail gracefully, rather than crash, if window.localStorage is unavailable. (One path might be to use the goog.testing.storage.FakeMechanism if a real one fails.)
My (admittedly unusual) app architecture calls for running a re-frame app inside a sandboxed iframe. That works fine, but trying to add re-frame-10x during development causes errors.
re-frame-10x uses LocalStorage for saving various settings, and access to LocalStorage is blocked for sandboxed iframes.
It would be great if that code was tweaked to fail gracefully, rather than crash, if
window.localStorage
is unavailable. (One path might be to use thegoog.testing.storage.FakeMechanism
if a real one fails.)