Питання до тесту «React Senior Developer Preparation Test Part 1»
undefined • 27 питань
Список усіх питань з тесту «React Senior Developer Preparation Test Part 1» (undefined). Переглядайте та практикуйтеся з окремими питаннями.
- Питання 1Один з чотирьохWhat is React, and what are its key benefits?
- Питання 2Один з чотирьохWhat is the difference between a React Node, React Element, and a React Component?
- Питання 3Один з чотирьохWhat is JSX and how does it work in React?
- Питання 4Один з чотирьохWhat is the difference between state and props in React?
- Питання 5Один з чотирьохWhat is the purpose of the key prop in React lists?
- Питання 6Один з чотирьохWhat are the consequences of using array indices as keys in React lists?
- Питання 7Один з чотирьохWhat is the difference between controlled and uncontrolled React components?
- Питання 8Один з чотирьохWhat are some common pitfalls of using context in React?
- Питання 9Один з чотирьохWhat are the benefits of using React hooks?
- Питання 10Один з чотирьохWhat are the rules of React hooks?
- Питання 11Один з чотирьохWhat is the difference between useEffect and useLayoutEffect in React?
- Питання 12Один з чотирьохWhat is the purpose of the functional callback form of setState in React, and when should it be used?
- Питання 13Один з чотирьохWhat does the dependency array of useEffect control?
- Питання 14Один з чотирьохWhat is the primary reason React uses a virtual DOM during re-rendering?
- Питання 15Один з чотирьохWhich React feature allows grouping multiple elements without adding extra nodes to the DOM?
- Питання 16Один з чотирьохBefore React 19, why was forwardRef() commonly used in function components?
- Питання 17Один з чотирьохHow can you force a React component to reset its internal state completely?
- Питання 18Один з чотирьохWhy is mutating state directly discouraged in React?
- Питання 19Один з чотирьохWhat method do error boundaries in React use to render fallback UI after an error is caught?
- Питання 20Один з чотирьохWhich of the following React components can act as an error boundary?
- Питання 21Один з чотирьохWhich testing tools are recommended for testing React components effectively?
- Питання 22Один з чотирьохWhat advantage does React Testing Library offer over fireEvent for user interactions?
- Питання 23Один з чотирьохHow can you mock network requests effectively while testing React applications?
- Питання 24Один з чотирьохWhat new root-level options were introduced in React 19 to handle errors globally?
- Питання 25Один з чотирьохWhich syntax can be used as a shorthand to declare React Fragments?
- Питання 26Один з чотирьохIn React, what is the consequence of mutating state directly on hooks like useState or useReducer?
- Питання 27Один з чотирьохWhat is the recommended way to reset specific parts of a component's state when using useReducer?