Coding
How would you go about creating a useFocus() hook in React to automatically focus on a given element?
Frontend Engineer
Oracle
IBM
Groupon
Evernote
Accenture
Philips
Interview question asked to Frontend Engineers interviewing at Texas Instruments, Paradox Interactive, Airbnb and others: How would you go about creating a useFocus() hook in React to automatically focus on a given element?.