The difference between React.createElement and calling a function component directly