idev0085 / react-boilerplate

0 stars 0 forks source link

JSX elements into other JSX elements? #92

Open idev0085 opened 2 years ago

idev0085 commented 2 years ago

It is possible. The process is quite similar to that of nesting the HTML elements. However, there are certain things that are different in this. You must be familiar with the source and destination elements to perform this task simply. Using JSX, you can create a function and return a set of JSX elements to a variable, and that variable used is to render the elements inside the render() function in React