universal-decorator-pure
v0.0.1
Published
组件装饰器,将组件转变为purecomponent
Downloads
1
Maintainers
Readme
universal-decorator-pure
导入
import pure from '@ali/universal-decorator-pure';
代码演示
import pure from '@ali/universal-decorator-pure';
@pure
class App extends Component {
render() {
return (
<View>
<Header />
<Body />
</View>
);
}
}