Top React Interview Questions

What are refs used for in React? Refs are used to get reference to a DOM node or an instance of a component in React. Good examples of when to use refs are for managing focus/text selection, triggering imperative animations, or integrating with third-party DOM libraries. You should avoid using…

Why you should update to React 16

What’s new in React 16? The new version of React 16 comes with a lot of new features and improvements to stability. Facebook, the company behind React, has rewritten the entire core architecture making it able to support long-awaited features. In this post, we will explore the changes, and how…

JavaScript – Prototype

Prototype Like Douglas Crockford said – “Every Object is linked to a prototype object from which it can inherit properties. All objects created from object literals are linked to Object.prototype, an object that comes standard with JavaScript.” Here, we will explore some interesting things. What is a Prototype? {Prototype} (Prototype with…

Web Performance Checkpoints

YSlow 14 Guidelines- Fewer HTTP Requests — request less during page load time like loading of google analytic, Image Sprites, concat CSS/JS, Use a CDN — most CDN have multiple location as compare to your company has one data centre. Expires/Cache-Control Header Gzip — gidnetwork.net Stylesheets at Top Scripts at Bottom Avoid CSS Expressions Externalise CSS…