- How is Stateless component different from a Stateful component?
- What is the difference between state and props?
- What can you do if the expression contains more than one line?
- What kind of information controls a segment in React?
- Explain DOM Diffing in React.
- What do you understand by the term polling?
- What’s the difference between an Element and a Component in React?
- Why should we not call setState in componentWillUnmount?
- What is the difference between React Native and React?
- What are React Hooks?
- When would you use a Class Component over a Functional Component?
- How to prevent a function from being called multiple times?
- Describe how events are handled in React.
- How to dispatch the data in-store?
- What do you understand by “Single source of truth”?
- Why is switch keyword used in React Router v4?
- How do you tell React to build in Production mode and what will that do?
- How do you access imperative API of web components?
- What is the benefit of strict mode?
- What is the difference between createElement and cloneElement?
- What are the features of ReactJS?
- What are the rules one needs to follow regarding hooks?
- What are the conditions to safely use the index as a key?
- Explain Presentational segment
- What is Relay?
- Can we make changes inside child components?
- What is route based code splitting?
- Explain the purpose of render() in React.
- What is render hijacking?
- What are React Events?
- What do you know about Flux?
- What is ReactDOMServer?
- How do the parent and child components exchange information?
- Where would you put AJAX calls in your React code?
- What is the use of Webpack?
- What is the difference between DOM and virtual DOM in React.js?
- Why do we need a Router to React?
- Why did you choose to work with react?
- List down the advantages of React Router.
- What is create-react-app?
- What are some of the major advantages to using react when building UIs?
- Why are you not required to use inheritance?
- How is React different from Angular and VUE?
- What is the second argument that can optionally be passed to setState and what is its purpose?
- What are Higher Order Components(HOC)?
- What is suspense component?
- Is it possible to display props on a parent component?
- Name 3 ways to create a component in React and its differences.
- Is setState() async? Why?
- What is the point of renderToNodeStream method?
- What is prop drilling and how can you avoid it?
- What do you understand by “In React, everything is a component.”
- How do you say that state updates are merged?
- What is the behavior of uncaught errors in react 16?
- How does JSX prevent Injection Attacks?
- What do you understand by mixin or higher order components in ReactJS?
- What do you understand by Props in React?
- How is Virtual-DOM more efficient than Dirty checking?
- Is it mandatory to define constructor for React component?
- What is the difference between a controlled component and an uncontrolled component?
- What are the rules needs to follow for hooks?
- React has something called a state. What is it and how it is used?
- What is JSX?
- Explain the use of Redux thunk?
- Is setState() is async? Why is setState() in React Async instead of Sync?
- What is the difference between async mode and concurrent mode?
- What does shouldComponentUpdate do and why is it important?
- Explain React Decorators
- What are the different phases of React component’s lifecycle?
- What is the purpose of eslint plugin for hooks?
- How would you debug an issue in react code? What debugging tools have you used?
- What are the lifecycle methods of ReactJS?
- How is ReactJs different from AngularJS?
- What would be two of the most significant drawbacks of React?
- What are synthetic events in React?
- Can you force a React component to rerender without calling setState?
- What is arrow function in React? How is it used?
- Mention the key benefits of Flux?
- Why are fragments better than container divs?
- What are refs in React?
- Is it ref argument available for all functions or class components?
- In ReactJS, why there is a need to capitalize on the components?
- What are the benefits of using typescript with reactjs?
- How would you structure a React application?
- What is the use of a super keyword in React?
- Why are String Refs considered legacy?
- When should you use the top-class elements for the function element?
- What is the methods order when component is re-rendered?
- Explain the Virtual DOM and its working.
- Is it possible to nest JSX elements into other JSX elements?
- How does React know when to re-render App component if we handle window resizing in useWindowSize?
- Explain Flexbox and its benefits
- Why do we need a key property? Give an example when a bad key causes an error.
- React unit tests vs integration tests for components.
- What is windowing technique?
- Explain the positives and negatives of shallow rendering components in tests.
- What are the problems of using render props with pure components?
- Do you know what the reconciliation algorithm is?
- How to prevent components from re-rendering?
- How would you optimise the performance of a React application?
- What are the drawbacks of MVW pattern?
- What are the advantages of formik over redux form library?
- Can Redux only be used with React?
- How Relay is different from Redux?
- What are selectors? Why would you use reselect or a memoization library?
- What is the mental model of redux-saga?
- What is an action in Redux?
- Why are Redux state functions called reducers?
- What are the core principles of Redux?
- What are the downsides of Redux compared to Flux?