Categories
Uncategorized

<HTML5>

<HTML5>

Terrific Minds Blog- What the TECH V.20

HTML and CSS have always been the backbone of frontend development over the years, but now Javascript has become more or less an unavoidable part of frontend development given the popularity it has gained in recent years. It offers various libraries and frameworks that take the ease and efficiency of frontend development to greater levels.

But the questions that crosses the mind of almost every frontend developer are: “Which framework to use?” and “What library to follow?” I am going to try and help you answer these questions.

There is no clear answer when it comes to selecting a framework and choosing a particular one depends on your requirement as each one offers different features. In this article let us have a look at Angular & React.

ANGULAR

Angular is a well structured Javascript framework introduced by Google in May 2011. It’s an opinionated framework that follows the MVC design pattern and is used to build SPAs (single page applications).

Being an opinionated framework Angular offers all the features required for development like routing, templates, etc. and you don’t have to rely on other tools for development.

Angular is an expressive language which means it requires you to type out very little code when compared to other frameworks and libraries. Angular provides very little flexibility and the inclusion of the aforementioned features means it is big in size and isn’t suitable for lightweight applications that may not benefit from the features it has to offer. Angular works with the Real DOM, which affects the performance of the application especially for a dynamic application.

REACT

React is often mistaken to be a framework, but it is a Javascript library. React was developed by Facebook and is still maintained by them. React provides the developers with immense flexibility as it isn’t opinionated. It is very much suitable for lightweight application as it doesn’t offer much unlike Angular. This means you choose the folder structure, the dependencies, etc.

React uses Virtual DOM which improves the efficiency of the application and speed. Redux, a state container can be implemented in React which helps you manage the state of the application and thereby determining how the application behaves.