Why useState hook returns array and not object? Let's create a custom hook to see
Hello, Have you ever asked why returning arrays from functions became trendy nowadays?  As we all...
Tags: javascript, react, hooks, frontend