3 ms·
React hooks don't need to add the entire object to their dependency array; they can specify only the properties that are actually dependencies of the logic cont
by chatmasta 3y ago
React hooks don't need to add the entire object to their dependency array; they can specify only the properties that are actually dependencies of the logic contained in the hook.