Most of the time our front-end applications interact with a wide range of services and APIs for populating and displaying the necessary data. We us...
For further actions, you may consider blocking this person and/or reporting abuse
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.
For lower level control you can even make AsyncComponent pass render props.
Yes absolutely we can it would be better solution than this actually.
Thanks, nice idea
Thank you. :D
Great article Adarsh, I will definitely follow this for my future reference. Thanks for Sharing :)
Bookmarked ;)
Thank you Koushik. :)