Tumgik
fashtech · 3 months
Text
Frontend Technologies (React.js and Angular.js)
Ever since the advent of the world wide web, technologies have been researched and created to streamline the creation of Web pages that are displayed to a client upon the client's request. These web pages began by being static and non-interactive with the use of basic HTML and CSS. After awhile, the Javascript programming language stormed the world of web applications and brought a layer of interactivity, finesse, and dynamism to web applications. Since then, more technologies, most of which are built on the basic initial technologies, have come out. Two of the most popular and effective technologies are React.js and Angular.js. In this article, an attempt would be made to highlight the differences in these technologies and what makes them unique and powerful.
Firstly, React.js is built on Javascript and produced and managed by Meta while Angular is also built on TypeScript but it was produced and managed by Google.
React is a Javascript library while Angular is a framework.
React makes use of a "templating langauge" called JSX to extend Javascript into HTML and it is rendered in the server side while Angular extends the functionality of HTML by adding more attributes like "ng-bind" and it is client side rendered.
React works by using a virtual DOM, while Angular uses the real DOM.
React is a highly scalable library because of the reusability of its components while Angular is less Highly scalable.
Having itemised these differences, they each have their strengths and what makes developers prefer one over the other. React has support for mobile App development, reusability and predictability of code, one can learn it really fast Etc. Angular has faster server side rendering, fewer lines of code, takes time to learn, Etc.
I specifically prefer React to Angular which is why I am glad that React is being used in the HNG internship https://hng.tech/internship where I am currently interning. I have used React to build highly interactive web applications and look forward to honing my skills better as I use it for more daunting projects in the HNG internship. Check out HNG on their website https://hng.tech/premium
2 notes · View notes