Web – compress images!!

I see too many websites containing images which are not compressed. There are many websites/ tools available now that can perform compression on images in an instant, and most of them are free. There are both lossy and lossless compressions available, and of course, lossless will likely yield the best quality retention. You can work… Continue reading Web – compress images!!

Published
Categorized as Process

React – scalability

Sometimes you see questions online like “is React scalable??” and of course people say yes. After-all it is used on a massive scale by Facebook themselves so we already have some pretty good evidence to back that up. I think the better question now is “how can I make sure React is scalable for my… Continue reading React – scalability

React Hook – asyc request

Think of all the React components that can end up having a useEffect that will call some API which then updates some state to not only hold the value of that but also track request progress, if only there was a way we could abstract some of this away and have dumber components…well consider the… Continue reading React Hook – asyc request

React – memory leaks

Consider 2 components – PlaylistsComponent, and PlaylistComponent. PlaylistComponent is only visible via PlaylistsComponent if there are songs related to that playlist and PlaylistComponent holds the count of those songs inside its own component state, the conditional visibility is controlled by PlaylistsComponent. PlaylistComponent can remove songs via a remove function that is passed down from PlaylistsComponent,… Continue reading React – memory leaks

Published
Categorized as React