Miss any of our Open RFC calls?Watch the recordings here! »

nuke-mounter

0.1.4 • Public • Published

mounter

  • category: API
  • chinese: mounter
  • type: API能力

注意此组件不在nuke大包中提供

API

  • mount 函数用于渲染 Rx 组件到对应节点。
mount(Component,element,callback)

示例

import {mount} from 'nuke-mounter';
let App = class NukeDemoIndex extends Component {
    constructor() {
        super();
    }
    render() {
        return (
            <View>
                <Text>大家好</Text>
            </View>
 
        );
    }
}
 
mount(<App/>,  'body');

Keywords

Install

npm i nuke-mounter

DownloadsWeekly Downloads

30

Version

0.1.4

License

none

Last publish

Collaborators

  • avatar
  • avatar
  • avatar