in React JS by
Q:

What is render() in React?

▼ Show 1 Answer

0 votes
by

Each React component must have a render() mandatorily. It returns a single React element which is the representation of the native DOM component. If more than one HTML element needs to be rendered, then they must be grouped together inside one enclosing tag such as <form><group><div>etc.

React JS
Learn More with Madanswer

Related questions

0 votes
asked Jun 19, 2020 in React JS by JackTerrance
...