DEV Community


Discussion on: Is React a dev or prod npm dependency?

gyandeeps profile image
Gyandeep Singh Author

Well that's the strategy I use too. I was just curious what people thought about it. Technically speaking, if I consume your package via npm I don't need react to be installed since it's already bundled inside your main file.