rehooks / local-storage

React hook which syncs localStorage[key] with the comp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possibility to disable customEvent functionality

TommySorensen opened this issue · comments

It should be possible disable the customEvent currently implemented in this hook.

I have a case where i only want the localstorage event to fire in other tabs then the tab that changes which basically is the functionality of window.addEventListener('storage')