Answer the question
In order to leave comments, you need to log in
How to include components in native React?
For example, there is an App.js module that actually builds the main application. But the header (Header.js) and footer (Footer.js) of the application are in separate modules. And of course they need to be included in App.js. If you use the ES2015 syntax in conjunction with JSX, then there are no problems, but what if you use native React?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question