Loading…

What is the difference between createElement and cloneElement?

JSX gets transpired to createElement and React uses it to make React Elements. cloneElement is used as a part of a request to clone a component and pass new props.

Suggest An Answer

No suggestions avaliable!

Latest post from React js interview questions

Ask Question