Front End DevelopmentMEANReact.js
Let’s first start with what state management actually is? State management refers to the methods and techniques used to handle, organize, and share data within a React application. It involves the systematic management and manipulation of data, ensuring seamless integration and synchronization across various components. State management is a critical aspect of building robust and […]
In continuously increasing data, organizations struggle to store, retrieve, and manage data efficiently. This is where Amazon DynamoDB plays a crucial role and stands out as a powerful solution. In this blog, we’ll explore Amazon DynamoDB, its features, and hands-on basic CRUD operation. What is DynamoDB? DynamoDB is a fully managed NoSQL database provided by […]
Front End DevelopmentMEANNode.js
Introduction MERN stack technology is a popular technology stack used by many developers worldwide. MERN is an acronym for four powerful technologies, including MongoDB, ExpressJS, ReactJS, and NodeJS. This technology stack is known for its ability to build fast and robust web applications. It is no surprise that the MERN stack is gaining popularity among […]
While building my backend NestJs application, I wanted to store some financial data. The first question I ran into was what schema Type should be for storing data where I want to maintain the data precision. Decimal128 came out to be the prescribed official candidate to store the financial data. Here’s my initial schema implementation: […]
Front End DevelopmentMEANNode.js
A definition first (from the internet): try-catch-finally is used to handle runtime errors and prevent them from halting the execution of a program. The finally block triggers regardless of: what is implemented inside the try-catch block any errors encountered inside try-catch block any return statement written inside the try-catch block Example 1 Consider this example where there’s no error: (()=>{ try { console.log(`Try block triggered`) […]
Here’s how async-await function typically works: function myDummyBackendCall() { return new Promise((resolve) => { setTimeout(() => { resolve({ name: “Shivang”, id: “asmdhajkdhajdsh8qweuqoweuiqepoi-0q-0eueiuaisjdaKcjaisku”, }); }); }); } // Used an async wrapper function to make an await call (async () => { let data = await myDummyBackendCall(); console.log(data); })(); If you are a JS developer, you […]
Front End DevelopmentMEANReact.js
NextJs is a framework to build a full-stack application with features such as server-side rendering using React framework. Today, it has become a consolidated framework for building amazing web applications. There can be many advantages of Next.js as: Great for SEO. Image Optimization – Next.js provide its Image component that improves the performance of the […]
What is Redux Form? Redux Form is a HOC(Higher Order Component) which uses react-redux so that the HTML forms in react can store all its state in redux. Advantage of using Redux Form? Redux Form is very easy to use and implement, we just have to wrap our form component with the HOC provided by […]
Have you ever wanted to use https://something.i.want.com:8080 instead of the same old boring https://localhost:8080 ? Well here is how you do it on Mac OS. By default, the IP of localhost is 127.0.0.1. ‘localhost’ itself is an alias. To make it your own follow the instructions below. 1. With sudo access vi /etc/hosts $sudo vi […]