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 ยท 893 views ยท debugging, tools, developer experience
Explain the concept of 'unidirectional data flow' in React.
Frontend ยท 792 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 ยท 319 views ยท development, debugging, best practices
What is the role of a bundler like Webpack in a React project?
Frontend ยท 135 views ยท webpack, bundler, build process
What is the purpose of the cleanup function in useEffect?
Phone Screen ยท 51 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 ยท 724 views ยท performance, hooks, debugging
Describe the benefits of using TypeScript with React.
Frontend ยท 469 views ยท typescript, type safety, development
Hard
3 questionsHow do you optimize React component rendering?
Frontend ยท 929 views ยท performance, optimization, memoization
Why does React 18 StrictMode double-invoke your components and effects?
Frontend ยท 908 views ยท react, strict-mode, effects
Why must React state updates be immutable?
Frontend ยท 601 views ยท react, state, immutability
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question