Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 656 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 656 Bytes

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 ⚓