
Geek developer in web technologies, open-source contributor, and content writer. I share my learnings on twitter and blogs, follow me for latest content.
Search for a command to run...

Geek developer in web technologies, open-source contributor, and content writer. I share my learnings on twitter and blogs, follow me for latest content.
Thank you!!
An error boundary is an important design pattern that helps you deal with errors in your code. It helps you identify where and why an error has occurred and handle it gracefully. If you’re new to React or have never heard of it before, don’t worry. M...
Authentication is a fundamental aspect of modern web and mobile applications. It ensures that users can securely access an app while protecting their data. Firebase, a platform developed by Google, offers a simple and efficient way to add authenticat...

Hello there! My name is Shivam, and today, I will show you how to create this beautiful horizontal scrolling parallax effect with HTML, CSS, and JavaScript. Wouldn't this look stunning on your blog or portfolio site? To achieve this effect, we will ...

Dealing with fonts can get quite overwhelming. For quite some time, I was searching for a way to self-host google fonts because the google fonts API's network request increased the render-blocking time more than I expected. I stumbled upon fontsource...

Our favorite month is here! And we have some amazing activities planned for our community 🤩 Yes, you are right. We are talking about Hacktoberfest! In this blog, we want to cover various ways you can participate in Hacktoberfest through the ReactPla...

The second edition of ReactPlay Hackathon is here!

React is a popular front-end open-source library of Javascript developed by Facebook. It is used to create user interfaces using reusable components and allows you to render the components as viewable elements in a browser, while its ecosystem lets you build single-page applications, we will talk later about SPA(Single Page Application).
React was first released in 2013 by Facebook as an alternative to Angular.js. Earlier in angular.js which is a framework for UI interfaces, elements were not rendered properly concerning changing one state it affects another state of the application, and thus managing the front-end was a bit of a concern. Facebook was not working well with user interfaces, what it needs was to develop applications that are fast, scalable, and yet simple. So the purpose of React.js was to create large web applications that can change data, without reloading the page.
Earlier the websites were built using HTML, CSS, and Javascript. The browser made a request and these files loaded to the client-side. Whenever an event occurs, the server loads all the files that are not even required, which is not a good way to optimize the performance. Further, these websites heavily rely on javascript and so to manage the working of the javascript on different browsers more easily, JQuery was introduced. JQuery allows DOM manipulation which is a fast, small, and feature-rich JavaScript library. It takes care of Javascript implementation on different browsers thus, DOM manipulation becomes easy and it helps developers to create massive JavaScript applications.
It became more feasible to create large Javascript applications using JQuery but it was difficult to load such large js files because as the application grows, developers need something to handle the files, a way to organize and structure the code. For this purpose, Backbone.js was introduced in 2010, it is a very lightweight JavaScript library, that reduces the complexity of code and provides good functionality. It facilitates the developers to create single-page applications which means the files will be loaded once, and manipulation of the DOM will be handled by JavaScript. So the browser will stay on the same page and JavaScript will update the HTML and CSS.
This way SPA was introduced to provide better performance and React along with more functionalities provides the developers a great library to create fully-fledged SPA applications with better code, design, and performance.