Is there a way to render multiple React components in the React.render() function?

后端 未结 8 1234
无人共我
无人共我 2020-12-08 06:33

For example could I do:

import React from \'react\';
import PanelA from \'./panelA.jsx\';
import PanelB from \'./panelB.jsx\';

React.render( 
  

        
8条回答
提交回复
热议问题