0
Q:

react fragment

render() {
  return (
    <React.Fragment>
      <ChildA />
      <ChildB />
      <ChildC />
    </React.Fragment>
  );
}
4
//the same way you'd use any other element 
//except that it doesn't support keys or attributes.

render() {
  return (
    <>
      <p>Hello</p>
      <p>World!</p>
    </>
  );
}

3
return <div dangerouslySetInnerHTML={{ __html: yourStringWithHtmlInIt }} />;
0

New to Communities?

Join the community