DEV Community

Discussion on: React: "I really wish this is how I could write components."

Collapse
 
joelnet profile image
JavaScript Joel

Agreed. Plus the problem with libraries is they have to cover the use cases of every application in the works. Most times your one liner function is enough for your use case.

Collapse
 
kayis profile image
K

This.

I couldn't write an equivalent to React-Router or Native-Navigation, but I don't have to. A 10line component covers the use-cases I have.