- Software Engineer @ Meta
- BSc in Computer Science @ Technion - Israel Institute of Technology
useEffect
use cases- Same state value, Component still renders
- When does the
useEffect
's callback's return statement execute? - What
ErrorBoundary
actually does. - Context API bailout.
- How
eslint
integrated increate-react-app
useRef
vs local variable.- Run
useEffect
with dependencies, only on mount. - Counter with
setInterval
common mistakes. - React Context API vs Local Storage
- Is it safe to use
ref.current
asuseEffect
's dependency whenref
points to a DOM element? - Why, exactly, do we need
React.forwardRef
? - Is there a generic way to set state in React Hooks?
- Is React onClick more like a JavaScript addEventListener than like a standard JavaScript onclick attribute?
- How to make an import shortcut/alias in
create-react-app
? - What are the drawbacks of
create-react-app
?