secure-ls icon indicating copy to clipboard operation
secure-ls copied to clipboard

Add window or global to allow SSR compatibility

Open moogus opened this issue 3 years ago • 1 comments

Add window or global to allow SSR compatibility

This work aims to allow the use of this module in a server side rendered environment. This work does not enable the module for use on the server but removes window dependancies.

  • [x] add window-or-global package
  • [x] update localStorage with global fallback

image

moogus avatar Dec 10 '20 09:12 moogus

Any updates on this?

NayamAmarshe avatar Mar 03 '22 19:03 NayamAmarshe