The websites these days are becoming more and more complex. And we have to load things in parts sometimes as micro components. Or maybe lazy loading some components just to better user experience. When we do this we need to create loader for heavy components that is replaced with the…
Category: CodeMoments
We help you to enjoy every moment of Coding. Let’s Dive In
Monorepo and Microservices are two completely different concepts yet often used interchangeably You might have managed multiple repositories for inter related projects. Monorepo simply puts all these inter related projects into one single repositories. This way you have to manage one single repository for all the projects. You setup deployment…
The hottest topic in the software industry is microservices architecture. But, what is it? Microservices architecture is just a software development architecture that breaks your software into multiple small loosely coupled simpler services. These services are small in size, serves a specific purpose, very easy to maintain. Teams can work…
The Blog Industry shall prepare for the headless CMS revolution Content Management Systems played a really important role in the internet revolution. The blogs that you use to get information are all brought to you buy CMS. Without a CMS it is very difficult to maintain blogs. But CMS are…
A developer’s job is to solve problems. It’s not programming in javascript and knowing a few frameworks. As the problems evolve the developer also needs to evolve to be able to solve these problems. AWS or any other cloud platform is just the next evolution that the developers of the…
Understanding the lifecycle of a react component is very crucial. It enables you to write code at a certain point in the process. There are basically four important lifecycle methods: componentDidMount, componentDidupdate, componentWillUnmount, shouldComponentUpdate. Let’s look at these methods in detail. ComponentDidMount componentDidMount is a method that is invoked when…
Event Propagation is simply the ways by which order an event is captured by browser in an HTML page where elements are nested. There are basically two types of event propagation bubbling and capturing. In event bubbling the event of the innermost element is captured first while in event capturing…
Population or Query Population in mongoose is a process of automatically replacing paths with other documents from other collections in a single document, multiple documents, objects, multiple objects. That’s the official definition of the population by a mongoose. But, most of us would understand this one: “Population is simply a…