DEV Community

lshawa
lshawa

Posted on

why wrap a functional component in React.createElemenr instead of utilizing it’s returned element via a functional call?

During a render, why wrap a functional component in React.createElemenr instead of utilizing it’s returned element via a functional call?

This is outside of the context of jsx. Pure react. SOS

Top comments (0)