DEV Community 👩‍💻👨‍💻

Discussion on: Create a React / TypeScript Generic Component

Collapse
 
fabiobiondi profile image
Fabio Biondi Author

do you mean the example should be simpler?

Collapse
 
mohajerimasoud profile image
Masoud Mohajeri

No , the whole Generic Component idea is not simple and stupid enough.
there are some good use cases and I have used it a couple of times but usually is not the best choice

Thread Thread
 
fabiobiondi profile image
Fabio Biondi Author

ah ok.. Sure. It's just an example of use case.
I agree and I don't know use it a lot too : )