Jul 2, 2019 in React JS
Q:

What is render() in React?

1 Answer

0 votes
Jul 2, 2019

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.

Click here to read more about React JS
Click here to read more about Insurance

Related questions

0 votes
Jun 19, 2020 in React JS
...