Quantcast
Channel: How to use HTML with JS in React app to export component - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Chris W for How to use HTML with JS in React app to export component

I'm assuming you don't want to consider a functional component because of maintaining something in the html/css/js that can't be easily refactored into React:ie.const NewComponent = () => {const...

View Article


How to use HTML with JS in React app to export component

I am building MERN project and in react part I got:- src/ - components/ - AdminPage/ - admin-page.html - admin-page.css - admin-page.jsSo the problem is in App.js:How could I use regular html, css, js...

View Article
Browsing latest articles
Browse All 2 View Live