DEV Community

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

eliseumds profile image
Eliseu Monar dos Santos • Edited on

What if you want to render a loader while new data is loading? That means you'd render a loader + the current data at the same time. Same with errors.

joelnet profile image
JavaScript Joel Author

Submit a pull request ;)