What are React JS components

Components are described as a part of the user interface. They are re-usable and can be nested inside other components. Components are the building blocks of any react application. There are two types of components. Stateless Functional Components Stateful Class Components Stateless components are basics JavaScript functions. Stateful components are regular ES6 classes that extend … More What are React JS components

React JS Introduction

Created by Facebook. React is open source library for building user interfaces. React is not a Framework. It has component based architecture. React is declarative. Meaning you tell react what to do and react will build the actual UI for you. You can integrate react seamlessly into any application on a portion of a page … More React JS Introduction

Angular 7 Selectors

So what are angular 7 selectors ? Let’s learn it by a simple example. Let’s say index.html file of your angular app looks something like this : <body> <app-root></app-root> </body> And your app.component.ts files looks something like this : import { Component } from ‘@angular/core’; @Component({ selector: ‘app-root’, templateUrl: ‘./app.component.html’, styleUrls: [‘./app.component.css’] }) export class … More Angular 7 Selectors

How to create a new component in Angular 7

Components are important part of Angular. All your components should be in src/app folder. There are two ways you can create components. 1) Manually 2) Automatically using angular CLI Create a component manually Let’s say you want to create a component displaying information about the server. So create a new folder called “server” in src/app … More How to create a new component in Angular 7