Front End Development, MEAN, Node.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 Development, MEAN, React.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 […]
Node.js is increasingly becoming a go-to technology for multiple companies across the globe. As Node.js emphasizes on concurrency, speed, and intensive data exchange along with employing push technology over web sockets, it has helped companies to build various applications such as social media apps, video and text chat engines, real-time tracking apps, online games and […]
MEAN, Node.js, Product Engineering
Product companies and enterprises both alike are in a race to develop products faster. A lot of companies are leveraging new-age digital technologies to improve time to market and shorten their release cycles. While some companies are automating delivery pipeline, some other are following Agile frameworks. For companies, succeeding at frontend isn’t the only goal. […]