Category Archives: JavaScript

How data is handled between Components in React (State vs Props)


Prerequisites : Basic understanding of React. Here’s a blog you can refer to : Getting Started with React PROPS Every component in react have a property called props associated to it. This lets you make a single component that is … Continue reading

Posted in JavaScript, React, Reactive, ReactJS | Tagged , , , , , | 1 Comment

Getting Started with React


React (sometimes called React.js or ReactJS) is an open-source JavaScript library for building user interfaces. React allows developers to create large web-applications that use data that can change over time, without reloading the page. It aims primarily to provide speed, … Continue reading

Posted in JavaScript, React, ReactJS | Tagged , , , | 1 Comment

Understand closures in javascript


Let’s learn closures today, How closures are define how they got intialize and how they work A closure is a function within a function that has access to the environment that it was created, which gives the ability to access … Continue reading

Posted in AJAX, Functional Programming, JavaScript, jQuery, Scala, Web, web application | Tagged , | 1 Comment

Validations for Template-driven forms in Angular 4


Prerequisite : Basic understanding of Angular 2/4 First of all, we need to create a simple form in Angular. You can clone this repository for the example. We’ll continue further with this example. This is the form that we have … Continue reading

Posted in Angular Material, AngularJs2.0, JavaScript | 1 Comment

When I took Angular 2 to build my Application


When I took Angular 2 to build my application, I still had my doubts to go with Angular 2 or some other framework. But after some research, I decided to go with Angular 2. It gives the ability to make … Continue reading

Posted in Angular Material, Angular Strap, AngularJS, AngularJs2.0, JavaScript, web application | Tagged , , | 5 Comments

Hello React #2: Smallest Example in React


Hello Folks, In our previous blog post – Hello React #1: Creating a Single Page Application with React, we saw how to create a SPA with React. But, we didn’t got into its details. Here is the link for a … Continue reading

Posted in HTML, JavaScript, React, ReactJS | Tagged | Leave a comment

Hello React #1: Creating a Single Page Application with React


Few days ago we were looking for a JavaScript library which is flexible and can be used in a variety of projects. Basically, something with which we can create new apps, or introduce into an existing project without rewriting it. However, we came … Continue reading

Posted in JavaScript, Node.js, React, ReactJS | Tagged , | 1 Comment

Object Oriented JavaScript: Polymorphism with examples


Again this is not the advance topic of JavaScript but it relies under Object Oriented JavaScript & polymorphism is one of the tenets of Object Oriented Programming (OOP), we all know what is Polymorphism from other languages (like C#, Java … Continue reading

Posted in JavaScript, Scala | Tagged , , , , | 2 Comments

Understanding “this” in JavaScript


Function in javascript have properties, Just like javascript Object have properties. And when function get execute, It get the this property Lets Take a closer look at “this”. this is a special character/keyword in javascript, As we know working with … Continue reading

Posted in AJAX, AngularJS, AngularJs2.0, HTML, JavaScript, jQuery, knoldus | Tagged | 10 Comments

A Simple Example using elm


In this blog, we will see how to build a simple application using elm. Elm is a functional language that compiles into javascript with following features:- 1)  Great Performance 2)  No run-time exception 3)  Javascript Interop 4)  Friendly error message … Continue reading

Posted in AJAX, Functional Programming, HTML, JavaScript, knoldus, Web, web application | Tagged , , , , , | Leave a comment