CheezyCode

Posts

If you are here to read this post, you must be a JavaScript programmer. If you are, you are welcome and even if you are not, that's okay. There are other articles to interest you on this site. So, moving on, this post is all about today's client-side frameworks, be it react or angular.
If you have used any of these two in your development, you must be aware of npm's packages. We will learn about how the version is maintained for these npm packages. The first term you need to be familiar is Semantic Versioning or SemVer, let's take a look at what it is:

Well, the time is changing and so is react. We have React 16 now and things are changing here. With various new features, there's something which gives us more control over the exceptions. React 16 introduced a new lifecycle method that is componentDidCatch. What is it? and How we can take advantage of it.

I have been searching for this answer. Being a .NET developer, I was curious to know what exactly is Node.JS or Node. If we go by the definition on its official website, it says -
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
This definition is not very clear from beginners standpoint. Lets try to understand what's inside Node.JS -
1. Most of the browsers have some JavaScript Engine working behind the scenes. This engine is the main component of the browser that converts your JavaScript code into machine code. What it actually does is - it takes your JavaScript code, reads it, parses it and then compiles it into machine code.
2. Chrome has V8 JavaScript Engine, Mozilla has Spider Monkey, Edge has Chakra and Safari has JavaScript Core JavaScript Engine. Every JavaScript engine has its own implementation that is why we face some JavaScript compatibility issues across the browsers.
3. In simple words, we can say that browser is a program which uses …

This has been a very important question in JavaScript world and is been asked from web developers of all ages. Whether you are a beginner in web development or experienced one, you should be able to answer this question. Whats the difference between window.load event & document ready event of jQuery? If you don't know the answer, this article is helpful for you. So let's get started.

In our previous articles we discussed interfaces and in this post, we are going to discuss exception handling. Exceptions are everywhere, whenever code finds something broken it raises an exception. So in this post, we will learn about exceptions, when they are raised and how to handle them in our application.