Skip to content

josermarinr/example-hook-cross-tab

Repository files navigation

Implementation and use of Package hook-cross-tab

demo image

link of this demo

if you clone this repo

install all dependencies

npm i

the use exact of package is

 const [todos, setTodos] = UniversalState({key:"tareas",initialState: [], option: "broadcast"})

for know the effect without hook go to app.tsx and uncomment line 27-29 and comment the rest of line 19-24

in this repo you find two implementation, one with broadcast and other with localStorage

enjoy 😊

by J. MARIN ⚓

About

this is the implementation of package hook-cross-tab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published