|
2 | 2 | > 鼓励PR |
3 | 3 |
|
4 | 4 | ## 历史题目(最新:2019.07.15) |
5 | | -[React](#React) | [React-native](#React-native) | [React router](#React router) | [Redux](#Redux) | [Flux](#Flux) |
| 5 | +[React](#React) | [React-native](#React-native) | [React-Router](#React-Router) | [Redux/Mobox](#Redux/Mobox) | [Flux](#Flux) |
6 | 6 |
|
7 | 7 | ### React |
| 8 | +- [说说你对React的reconciliation算法的理解]() |
| 9 | +- [使用PropTypes和Flow有什么区别?]() |
| 10 | +- [怎样有条件地渲染组件?]() |
| 11 | +- [在JSX中如何写注释?]() |
| 12 | +- [constructor和getInitialState有不同?]() |
| 13 | +- [写例子说明React如何在JSX中实现for循环]() |
| 14 | +- [为什么建议Fragment包裹元素?它的简写是什么?]() |
| 15 | +- [你有用过React.Fragment吗?说说它有什么用途?]() |
| 16 | +- [在React中你有遇到过安全问题吗?]() |
| 17 | +- [React中如何监听state的变化?]() |
| 18 | +- [React什么是有状态组件?]() |
| 19 | +- [React v15中怎么处理错误边界?]() |
| 20 | +- [React Fiber它的目的是解决什么问题?]() |
| 21 | +- [React为什么不要直接修改state?如果想修改怎么做?]() |
| 22 | +- [create-react-app有什么好处?]() |
| 23 | +- [装饰器(Decorator)在React中有什么应用?]() |
| 24 | +- [使用高阶组件实现一个loading组件]() |
| 25 | +- [如何用React实现滚动动画?]() |
| 26 | +- [说出几点你认为的React最佳实践]() |
| 27 | +- [你是如何划分React组件的?]() |
| 28 | +- [举例说明如何在React创建一个事件]() |
| 29 | +- [如何更新组件的状态?]() |
| 30 | +- [怎样将多个组件嵌入到一个组件中?]() |
| 31 | +- [React的render中可以写{if else}这样的判断吗?]() |
| 32 | +- [React为什么要搞一个Hooks?]() |
| 33 | +- [React Hooks帮我们解决了哪些问题?]() |
| 34 | +- [使用React的memo和forwardRef包装的组件为什么提示我children类型不对?]() |
| 35 | +- [有在项目中使用过Antd吗?说说它的好处]() |
| 36 | +- [在React中如果去除生产环境上的sourcemap?]() |
| 37 | +- [在React中怎么引用sass或less?]() |
| 38 | +- [组件卸载前,加在DOM元素的监听事件和定时器要不要手动清除?为什么?]() |
| 39 | +- [为什么标签里的for要写成htmlFor呢?]() |
| 40 | +- [状态管理器解决了什么问题?什么时候用状态管理器?]() |
| 41 | +- [状态管理器它精髓是什么?]() |
| 42 | +- [函数式组件有没有生命周期?]() |
| 43 | +- [在React中怎么引用第三方插件?比如说jQuery等]() |
| 44 | +- [React的触摸事件有哪几种?]() |
| 45 | +- [路由切换时同一组件无法重新渲染的有什么方法可以解决?]() |
| 46 | +- [React16新特性有哪些?]() |
| 47 | +- [你有用过哪些React的UI库?它们的优缺点分别是什么?]() |
| 48 | +- [`<div onClick={handlerClick}>单击</div>`和`<div onClick={handlerClick(1)}>单击</div>`有什么区别?]() |
| 49 | +- [在React中如何引入图片?哪种方式更好?]() |
| 50 | +- [在React中怎么使用字体图标?]() |
| 51 | +- [React的应用如何打包发布?它的步骤是什么?]() |
| 52 | +- [ES6的语法'...'在React中有哪些应用?]() |
| 53 | +- [如何封装一个React的全局公共组件?]() |
| 54 | +- [在React中组件的props改变时更新组件的有哪些方法?]() |
| 55 | +- [immutable的原理是什么?]() |
| 56 | +- [你对immutable有了解吗?它有什么作用?]() |
| 57 | +- [如何提高组件的渲染效率呢?]() |
| 58 | +- [在React中如何避免不必要的render?]() |
| 59 | +- [render在什么时候会被触发?]() |
| 60 | +- [写出React动态改变class切换组件样式]() |
| 61 | +- [React中怎么操作虚拟DOM的Class属性?]() |
| 62 | +- [为什么属性使用className而不是class呢?]() |
| 63 | +- [请说下react组件更新的机制是什么?]() |
| 64 | +- [怎么在JSX里属性可以被覆盖吗?覆盖的原则是什么?]() |
| 65 | +- [怎么在JSX里使用自定义属性?]() |
| 66 | +- [怎么防止HTML被转义?]() |
8 | 67 | - [经常用React,你知道React的核心思想是什么吗?]() |
9 | 68 | - [在React中我们怎么做静态类型检测?都有哪些方法可以做到?]() |
10 | 69 | - [在React中组件的state和setState有什么区别?]() |
|
13 | 72 | - [什么是React的实例?函数式组件有没有实例?]() |
14 | 73 | - [在React中如何判断点击元素属于哪一个组件?]() |
15 | 74 | - [在React中组件和元素有什么区别?]() |
16 | | -- [在React中声明组件时组件名的第一个字母必须是大写吗?]() |
| 75 | +- [在React中声明组件时组件名的第一个字母必须是大写吗?为什么?]() |
17 | 76 | - [有用过React Devtools吗?说说它的优缺点分别是什么?]() |
18 | 77 | - [举例说明什么是高阶组件的反向继承?]() |
19 | 78 | - [举例说明什么是高阶组件的属性代理?]() |
|
100 | 159 | - [请描述下事件在React中的处理方式是什么?](https://github.com/haizlin/fe-interview/issues/662) |
101 | 160 | - [JSX和HTML有什么区别?](https://github.com/haizlin/fe-interview/issues/661) |
102 | 161 | - [React的书写规范有哪些?](https://github.com/haizlin/fe-interview/issues/660) |
103 | | -- [create-React-app创建新运用怎么解决卡的问题?](https://github.com/haizlin/fe-interview/issues/659) |
| 162 | +- [create-react-app创建新运用怎么解决卡的问题?](https://github.com/haizlin/fe-interview/issues/659) |
104 | 163 | - [使用React的方式有哪几种?](https://github.com/haizlin/fe-interview/issues/658) |
105 | 164 | - [说说你对reader的context的理解](https://github.com/haizlin/fe-interview/issues/657) |
106 | 165 | - [同时引用这三个库React.js、React-dom.js和babel.js它们都有什么作用?](https://github.com/haizlin/fe-interview/issues/656) |
|
159 | 218 | - [React Native和React有什么区别?]() |
160 | 219 | - [有做过React native项目吗?](https://github.com/haizlin/fe-interview/issues/725) |
161 | 220 |
|
162 | | -### React router |
163 | | -- [React-router的`<Link>`标签和`<a>`标签有什么区别?]() |
| 221 | +### React-Router |
| 222 | +- [react-router3和react-router4有什么变化?]() |
| 223 | +- [react-router的实现原理是什么?]() |
| 224 | +- [react-router4的switch有什么用?]() |
| 225 | +- [react-router4怎样在路由变化时重新渲染同一个组件?]() |
| 226 | +- [React-Router的路由有几种模式?]() |
| 227 | +- [React-Router的`<Link>`标签和`<a>`标签有什么区别?]() |
164 | 228 | - [React的路由和普通路由有什么区别?](https://github.com/haizlin/fe-interview/issues/728) |
165 | 229 | - [请你说说React的路由的优缺点?](https://github.com/haizlin/fe-interview/issues/727) |
166 | 230 | - [请你说说React的路由是什么?](https://github.com/haizlin/fe-interview/issues/726) |
167 | 231 |
|
168 | | -### Redux |
| 232 | +### Redux/Mobox |
| 233 | +- [Redux和vuex有什么区别?]() |
| 234 | +- [Redux的中间件是什么?你有用过哪些Redux的中间件?]() |
| 235 | +- [说说Redux的实现流程]() |
| 236 | +- [Mobx的设计思想是什么?]() |
| 237 | +- [Redux由哪些组件构成?]() |
| 238 | +- [Mobx和Redux有什么区别?]() |
| 239 | +- [在React项目中你是如何选择Redux和Mobx的?说说你的理解]() |
| 240 | +- [你有在React中使用过Mobx吗?它的运用场景有哪些?]() |
169 | 241 | - [Redux的thunk作用是什么?](https://github.com/haizlin/fe-interview/issues/740) |
170 | 242 | - [Redux的数据存储和本地储存有什么区别?](https://github.com/haizlin/fe-interview/issues/739) |
171 | 243 | - [在Redux中,什么是reducer?它有什么作用?](https://github.com/haizlin/fe-interview/issues/738) |
|
180 | 252 | - [什么是Redux?说说你对Redux的理解?有哪些运用场景?](https://github.com/haizlin/fe-interview/issues/729) |
181 | 253 |
|
182 | 254 | ### Flux |
| 255 | +- [请说说点击按钮触发到状态更改,数据的流向?](https://github.com/haizlin/fe-interview/issues/742) |
183 | 256 | - [请描述下Flux的思想](https://github.com/haizlin/fe-interview/issues/742) |
184 | 257 | - [什么是Flux?说说你对Flux的理解?有哪些运用场景?](https://github.com/haizlin/fe-interview/issues/741) |
0 commit comments