Why the Hype About React, Vue, and Angular? – Part 1
Theodora Gyambrah
Passionate Software Engineer | Project Manager | Blockchain Developer | Engineering dreams - one line of code at a time
Introduction
Entering the world of tech as a web developer, you'll quickly notice a recurring theme: job postings and advice from seasoned developers often mention the importance of mastering tools like React, Vue, and Angular. It's clear that to thrive in the tech industry, these are skills you'll need to acquire. However, what are these tools precisely, and what are their functions?
React, Vue, and Angular represent just a few examples of JavaScript frameworks and libraries used extensively for building Single Page Applications (SPAs). They're not alone; there are a host of other tools like Ember.js, Svelte, Nuxt, Aurelia, and more, each serving a similar purpose.
Now, let’s delve into what SPAs are.
Single Page Applications (SPAs) are a category of web application that operates entirely on a single web page. Unlike traditional websites that load numerous separate HTML pages from the server, SPAs take a different approach. They begin by loading a single HTML page, and as users interact with the application, its content undergoes dynamic updates.
While this might initially seem a bit complex, stick with me, and it will become much clearer.
To fully grasp the? concept of SPAs, it’ll be helpful to begin by understanding how traditional websites, also known as multi-page applications work.
A traditional website is a website built using fundamental web technologies, including HTML, CSS and plain JavaScript without the utilization of any additional frameworks or libraries.
Now, several key components and processes come together to make a traditional website accessible and functional. Here's a simplified overview of these processes:
领英推荐
Now, let’s compare that to the workings of an SPA;
Like traditional websites, the process starts with the resolution of the website's domain name into an IP address by the DNS. Subsequently, an HTTP request is made to the server and this is where it gets interesting;?
In Summary,
The key distinction between a traditional website and a Single Page Application (SPA) lies in their handling of user interactions. Traditional websites depend on full-page requests and server-rendered HTML for every user interaction, leading to complete page reloads. In contrast, an SPA follows a different paradigm: it initially loads a minimal page, retrieves and dynamically renders content on the client side, and manages subsequent interactions without resorting to full-page refreshes.
This approach offers several advantages, including a smoother and more responsive user experience, reduced server load, and enhanced performance. It particularly benefits web applications characterized by frequent user interactions and real-time updates, where the ability to fetch and display only the necessary data on-demand contributes to a more efficient and enjoyable user journey.
While reading this post, you might be leaning towards SPAs as the apparent choice for every application. But hold on, there's more to consider! Find the sequel here, where I delve into the pros and cons of each approach.
my next post, where I'll delve into the pros and cons of each approach.
Electrical/Electronics Engineering || Tech
1 年it's easy to follow and understand
Economics & Mathematics @ SUA | Business Information Technology | Founder @ The Uget Inspires Foundation | Brand Ambassador @ EnviroTech Ghana | ForbesBLK Member |RTC | ANITA B.Org
1 年This is a great!