Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
7 questionsWhat is `PropTypes` and when would you use it?
Frontend ยท 1.1k views ยท prop-types, type checking, validation
What are React Developer Tools and how do you use them?
Frontend ยท 894 views ยท debugging, tools, developer experience
Explain the concept of 'unidirectional data flow' in React.
Frontend ยท 794 views ยท data flow, state management, architecture
How do you debug React applications?
Frontend ยท 358 views ยท debugging, dev tools, error handling
What is the purpose of `React.StrictMode`?
Frontend ยท 321 views ยท development, debugging, best practices
What is the role of a bundler like Webpack in a React project?
Frontend ยท 137 views ยท webpack, bundler, build process
What is the purpose of the cleanup function in useEffect?
Phone Screen ยท 55 views ยท hooks, lifecycle
Medium
3 questionsDescribe the React component lifecycle.
Frontend ยท 1.0k views ยท lifecycle, mounting, updating
How do you handle memory leaks in React?
Frontend ยท 725 views ยท performance, hooks, debugging
Describe the benefits of using TypeScript with React.
Frontend ยท 470 views ยท typescript, type safety, development
Hard
3 questionsHow do you optimize React component rendering?
Frontend ยท 932 views ยท performance, optimization, memoization
Why does React 18 StrictMode double-invoke your components and effects?
Frontend ยท 909 views ยท react, strict-mode, effects
Why must React state updates be immutable?
Frontend ยท 602 views ยท react, state, immutability
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question