react

createElement能够绑定事件么?javascript

react的历史。 https://www.jianshu.com/p/ad533d71f79ecss

#### react入门html

http://www.javashuo.com/article/p-ucfaxfwz-gt.htmljava

https://segmentfault.com/a/1190000008551182?utm_source=tuicool&utm_medium=referralreact

http://www.javashuo.com/article/p-blpcplcp-k.htmlgit

#### redux es6

http://www.javashuo.com/article/p-rjiapdwv-bu.htmlgithub

redux-saga http://www.javashuo.com/article/p-njecjbgk-bv.htmlredux

https://www.jianshu.com/p/9cbc1e2b6a1dc#

http://www.javashuo.com/article/p-dgduezux-ev.html

https://blog.csdn.net/wj610671226/article/details/82730051

一个github项目 https://github.com/forthealllight/redux-saga-example

中文saga

https://redux-saga-in-chinese.js.org/docs/basics/UsingSagaHelpers.html

#### react官网中文

https://react.docschina.org/

#### react 学习资料汇总

https://github.com/tsrot/study-notes/blob/master/React%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%BA%90%E6%B1%87%E6%80%BB.md

#### react  在线编辑器

https://stackblitz.com/edit/react-testyan?file=index.js

◌◌原理性质◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌

#### 本身实现一个简版的react哈哈哈

http://www.javashuo.com/article/p-htbrvffu-ed.html

##### 本身实现一个createment

https://www.jianshu.com/p/147651e61524

https://github.com/hujiulong/blog

◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌

####  react元素(React.createElement与Jsx生成的)和组件(在元素外边包了一层)。

####   有状态的组件和无状态的组件

 #### react各个版本的差别

#### 生命周期

 

####

 

◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌

把别人的错误变为本身成长的助力。

#### jsx中  class ==>> className

#### react中点击事件带参数会当即执行,只须要换位箭头函数就能够了。

#### 事件中传值的两种方式,第一种es6的箭头函数,第二种bind

 

#### react css难道没有scoped概念么。

#### react 生命周期。

 

#### react在执行 componentDidMount以前,都是虚拟dom

#### 

document.createElement  与 React.createElement
document.createElement 后边的title属性没有做用。
var newDivH = document.createElement("div",{title: 123});

 

React.createElement + 一个函数 =  class = jsx 
var Newdiv = React.createElement(
    'div',
    {title: 123},
    'ddddddd'
);
// render(Newdiv, document.getElementById('root')); //  能够
// render(<Newdiv/>, document.getElementById('root')); // 不行

var Newd = () => {
  return Newdiv
}
// render(<Newd/>, document.getElementById('root')); // 这个能够

 

####  react中findDomNode 的做用。

   import { findDomNode } from 'react-dom';
   var Btn = document.getElementById('btn');
   ReactDom.findDOMNode(Btn).style.color = 'red';
   this.refs.btn.style.color = 'red';

#### unmountComponentAtNode

ReactDOM.unmountComponentAtNode(container)
从 DOM 中卸载组件,会将其事件处理器(event handlers)和 state 一并清除。若是指定容器上没有对应已挂载的组件,这个函数什么也不会作。若是组件被移除将会返回 ,若是没有组件可被移除将会返回 。 truefalse

◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌◌

 #### 指针属性的某个值更新会触发么。

#### 插件 vscode 关于React的  es7  (输入rcc自动回发生改变)

 

声明式UI和非声明式UI。
http://www.javashuo.com/article/p-kxirqxki-kg.html
相关文章
相关标签/搜索