Need help on 15/16


I Cant figure out how this works.

var div = React.createElement();



is the syntax used to create new React JS elements. it's a description of what tag/class is going to be rendered and what props it will contain.

Values that can be passed:React.createElement(type, props, children);


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.