The generator function in javascript works the same as our real-life generator, in general, what we do, we use it while it is required, when there is electricity failure, we start the generator and use it, the Generator function also works the same, we keep function ready by assigning it to the iterator and execute … Continue reading How we can control javascript functions — Generator
Category: Javascript
Restrict access to the media content
Amazon S3 bucket storage is a real blessing for developers, right? It’s easy to store and access data as per our need from buckets. But… What if we need to block access to an object from external platforms? I came across this issue recently. I was storing video files in a public bucket and using … Continue reading Restrict access to the media content
Component lifecycle with useEffect
As you are reading this blog, you are one of the cool developers and to become the coolest developer you need to follow the above quote. Here, I am sharing my story, when I tried to become the coolest developer! When I heard about hooks in React JS, I read about it and tried to write new components … Continue reading Component lifecycle with useEffect