用来处理css类javascript
处理类或者类方法修饰css
不可变对象html
有两个子组件要渲染时,咱们无法给他们设置key,须要用到这个插件。P110。java
性能检查工具。react
动画(CSS动画,JS动画)git
这也是一个比较有意思的动画库,写法相似css的多关键帧动画。而且几种缓动函数动画这里都能实现。github
最出名的SVG动画插件web
UI库npm
复制react组件的静态方法segmentfault
The red box (aka red screen of death) renders an error in this “pretty” format:
这个插件经过任意转换的方式去封装 React 组件。换句话说,你能够为所欲为的摆弄你的组件了。
在 Babel 转换过程当中,详细的展现引用的相关辅助工具和内置命令,并自动的聚合填充你的代码而不会污染全局。
用于babel5 用户的过渡。
A React Transform that catches errors inside render() function and renders a React component with an error message instead.
It’s up to you to choose the React component to render an error message. For example, you may use redbox-react that imitates React Native “red screen of death”.
它依赖于babel-plugin-react-transform
A React Transform that enables hot reloading React classes using Hot Module Replacement API. Hot module replacement is supported natively by Webpack and available in Browserify with browserify-hmr.
它依赖于babel-plugin-react-transform
This library when used as a mixin/decorator replaces the PureRenderMixin when using facebook/immutable-js library with React
This Mixin and HoC implements shouldComponentUpdate method using prop and state equality with Immutable.is().
We also expose the shallowEqualImmutable to allow developers to craft a custom shouldComponentUpdate method as needed.
http://facebook.github.io/immutable-js/
https://www.npmjs.com/package/react-motion
若是有多个子组件要渲染,咱们无法给它们设置key,这时就须要用这个插件来解决了:
import React form 'react';
import createFragment from 'react-addons-create-fragment';
function Rank({first,second}{ const children = createFragment({ first:first, second:second }); return ( <ul>{children}</ul> ); })