How update data on click? (solved)

SOLUTION
https://codesandbox.io/p/sandbox/young-wind-m5xz9r

Question:
I get setNumbers is not a function
I want click on button and setItem[{},{}...]

Relation to question have files Numbers.tsx and NumbersContext.tsx
CodeSandbox is an online editor tailored for web applications.
re-render on click with localstorage
Was this page helpful?