Reactjs – nextjs – my hook does not re-render on value change
I use the following hook in a page.tsx file and then pass the data down to a table. When I click on a task, i have the following function page.tsx "use client" const { allOpenTasks, getOpenTasks } = useTasks(); useEffect(()…