Open jemin136 opened 5 years ago
Hi @jemin136 Would you be able to provide some sample code? Generally in React, you don't refer to other components by "id" of an JSX element.
You would normally "import" other component and use it in another.
And also you might want to use react-router-dom for client-side routing
Hi
how can i add multiple jsx or js react page in mvc application. for ex. there is one page for home like that i want separate page for aboutus and Contact page.
i have create one aboutus.jsx page and write same code as index.js but i have changed id and use that id in Contact page but it is give error "Target container is not a DOM element."
can you please help me for this.
Thanks, Jemin