DEV Community

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

joelnet profile image
JavaScript Joel Author

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.

kayis profile image
K (he/him)


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.