Add React to a site

twitter logo ・1 min read

Hi guys,

I'd like to develop some components for a web page. In the same page I can have 2 components or more. By using create-react-app I think that react and react-dom library will be duplicated. What to do in this case? I need to setup the development environment but I'm confused. Any idea about it?
Thanks

twitter logo DISCUSS (1)
markdown guide
 

This seems like a better fit for something like Stack Overflow, or even react examples on GitHub. If anybody would be able to help you, they would need much more information. A link to the repo, some code examples, anything to help.

Classic DEV Post from May 8

Is “Defensive Programming” actually healthy?

I can’t solve this one, and I think I need the help of the DEV Community. So, a d...

Davide Zerrilli profile image

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️