DEV Community

loading...

Discussion on: How you handle non reusable components in react?

Collapse
potouridisio profile image
Ioannis Potouridis

Hi!

I won't provide an answer but a thought.

I don't believe there's a reason making some block of code a component if it is not reusable.

Collapse
itsjzt profile image
Saurabh Sharma Author

Yeah, that a good option but parent components can be huge without extraction.