DEV Community

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

Collapse
 
eliseumds profile image
Eliseu Monar dos Santos • Edited

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.

Collapse
 
joelnet profile image
JavaScript Joel

Submit a pull request ;)