To fetch or toggle between the front-facing camera and the back camera, we can simply use the “facingMode” which is widely supported in the majority of the browsers. #WebRTC #javascript To fetch or toggle between the front-facing camera and the back camera, we can simply use the “facingMode” which is widely supported in the majority […]
The .reduce() method was also there in ES5, but I’d never used or seen someone using it in production at that time. Even today, I see people not aware of this method. I’ve also seen people only giving the same shopping cart example while explaining this method and, that’s why I think people don’t completely […]
Mistakes in the design phase often lead to a cycle of rework in the product development process. So, It is always best to avoid and take care of mistakes that might occur unknowingly or knowingly. Mistakes in the design phase often lead to a cycle of rework in the product development process. So, It is […]
Have you ever faced this issue that your useEffect hook gets executed multiple times? Maybe sometimes it goes into the infinite loop? When React released the hooks feature, everyone jumped into it and started exploring new features and use-cases. I also started using functional components and completely abandoned the “class components” in my new projects. […]