热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

React 面试题与答案

相关差异对比

Angular vs React

问题 26. What are controlled components in React?

Controlled components in React refer to the components that have the ability to maintain their state. The data is completely controlled by the parent component, and the current value is fetched by making use of props. This is done to notify about any change that occurs when using callbacks.

这有帮助吗? 添加评论 查看评论
 

问题 27. Why is a router required in React?

A router is very much necessary in React as it is used to manage multiple routes whenever a user types in a URL. If the route is present in the router for that corresponding URL, then the user is taken to the particular route.

这有帮助吗? 添加评论 查看评论
 

问题 28. What are the components of Redux in React?

Redux consists of four main components as shown below:

  • Action: An object that describes the call
  • Reducer: The state change storage unit
  • Store: the state and object tree storage
  • View: Displays data provided by the store

这有帮助吗? 添加评论 查看评论
 

问题 29. What are the disadvantages of using MVC in React?

Among a plethora of advantages of using MVC in React, there are minor problems as stated below:

  • A lot of memory wastage occurs.
  • DOM manipulation costs a lot.
  • The application becomes slow.
  • Lots of dependencies are created.
  • The complexity of models increases.

这有帮助吗? 添加评论 查看评论
 

问题 30. What are pure components in React?

Pure components are singular entities that are written in React. They are fast and simple to write and have the ability to replace a component that has only the render() function. This is done to ensure that the performance of the application is good and that the code is kept simple at the same time.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。