📜  空 div 反应 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:12.058000             🧑  作者: Mango

代码示例1
//called a fragment, syntax is <> to open,  to close
class Columns extends React.Component {
  render() {
    return (
      <>        //open fragment
      Hello
       World
                 
      //close fragment on line above
    );
  }
}