useDeleteMany causes to re-render the parent
why does useDeleteMany cause to render the parent
useDeleteMany causing re-renders of the parent component. However, I can provide some general insights about React hooks and re-rendering behavior that might be relevant to your question.useDeleteMany is likely not directly caused by the hook itself, but rather by how React handles state updates and re-renders in general. Here are a few points to consider:useDeleteMany typically cause re-renders when they update data or state.useDeleteMany or if the deletion affects some state in the parent, it could trigger a re-render.React.memo() or useMemo() to prevent unnecessary re-renders.useDeleteMany.useDeleteManyuseDeleteManyuseDeleteManyuseDeleteManyuseDeleteManyReact.memo()useMemo()