DEV Community

Discussion on: 5 Best practices for ReactJs

Collapse
 
sachinchaurasiya profile image
Sachin Chaurasiya

We can do it either way, but for unit test perspective we should keep components in different files.