DEV Community

Discussion on: Bad ReactJs practices to avoid

Collapse
 
cgatian profile image
Chaz Gatian

Do you mind providing an example of what you mean by "Declaring components inside of components"?

Good article, thank you.

Collapse
 
jurajuki profile image
Juraj Pavlović

Of course I don't mind, here is an example of it:
declaring components inside of components

Keep in mind that this is a bad practice