DEV Community

Discussion on: The Ultimate Guide to JWT client side auth (Stop using local storage!!!)

 
ptejada profile image
Pablo Tejada

The localStorage and window are globals. Is presumably easier to extract info from globals then from the encapsulated application logic code.