Skip to content

re: React - Asynchronous Component Rendering Wrapper VIEW POST


This seems an interesting way to handle promises in the components. Thanks for sharing :)

We were handling the promise results in every component with utilizing an higher component that is dedicated to that component. This seems an amazing way to reduce code replication


Yes the very same problem I faced and I was thinking how to come up with the solution to improve User Experience while reducing the redundancy. I arrived at a wrapper for that. But this wrapper can still be improved in a lot of ways.

code of conduct - report abuse