Front-End Development in React: An Overview: Engineering International December 2019
Front-End Development in React: An Overview: Engineering International December 2019
net/publication/374154236
CITATIONS READS
22 7,222
3 authors, including:
SEE PROFILE
All content following this page was uploaded by Venkata Koteswara Rao Ballamudi on 25 September 2023.
*Corresponding Contact:
Email: [email protected]
ABSTRACT
In front-end development, the function that react.js plays is becoming increasingly
important, providing developers with new options to create new applications. This
article discusses how react.js assists in constructing user interfaces and the benefits
it offers in building front-ends. According to the survey carried out by Web
Technology Surveys, react.js is utilized by a significant percentage of all websites
today. We will not exaggerate the situation if we declare that React.JS is used
everywhere. When it comes to websites, new audiences have various interests. This
article discusses critical aspects of the framework, including its advantages over
competing frameworks, how it works, and its architecture.
Key words:
JavaScript, React.JS, Node.JS, Angular, Virtual DOM, Web Development, Front-End
Development
12/31/2019 Source of Support: None, NoConflict of Interest: Declared
This article is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Attribution-NonCommercial (CC BY-NC) license lets others remix, tweak, and build upon work non-commercially,
and although the new works must also acknowledge & be non-commercial.
INTRODUCTION
These days, web developers more commonly refer to the products they construct as web
applications instead of web pages. Although there isn't a clear-cut distinction between the
two, web applications are typically more interactive and dynamic. They give the user the
ability to carry out actions and get a reaction in response to those actions. The front-end
development industry has never been more intriguing or complicated than it is right now.
Brand-new applications, libraries, frameworks, and plugins are released every other day.
There is plenty of information to absorb. Grab's online team has been staying current with
the most recent recommendations for best practices, and as a result, our web apps now use
the modern JavaScript environment (Mandapuram, 2016). In the traditional model, the
browser is responsible for rendering HTML after receiving it from the server. It is necessary
to perform a full page refresh whenever the user navigates to a new URL, and the server
will transmit the newly generated HTML for the page to the user.
On the other hand, client-side rendering is utilized rather than server-side rendering in
current SPAs. The first page of the app is loaded from the server into the browser, along
with any scripts (frameworks, libraries, or app code) and stylesheets necessary for the
NEW-AGE JAVASCRIPT
It is essential to become conversant in the language of the web, which is either JavaScript or
ECMAScript, before delving into the myriad of facets that comprise the construction of a
JavaScript online application. JavaScript is a highly flexible programming language that can
DEVELOPMENT EXPERIENCE
A significant amount of work has been put into developing tools, such as Redux DevTools,
that will assist in inspecting and debugging the application while it is being designed
(Gutlapalli, 2016a). Our program may have to handle asynchronous calls, such as queries
sent to a remote API. Redux-thunk and redux-saga are two programs that were developed
specifically to address these issues. Understanding them requires familiarity with functional
programming and generators, which could add extra time to the process (Thaduri et al.,
2016). Our recommendation is to deal with it only when it's essential. React-redux is the
official React binding for Redux, and it is a pretty straightforward concept to grasp.
TYPES — FLOW
Static typing improves app writing. They can spot typical code mistakes early. Types
document and promote code readability. As codebases increase, types become more
important because they boost refactoring confidence. When new team members know what
values each object stores and what parameters each function expects and returns, it's easier to
onboard them. Adding types to our code increases verbosity and syntax learning. However,
this learning cost is upfront and amortized. Types have more pros than cons in complex
projects where code maintainability counts and developers shift over time. We fixed a bug in
a code base we hadn't touched in months. Because of the types, I could refresh my coding
knowledge and feel confident in my patch. The two most significant competitors for adding
static types to JavaScript are Facebook's Flow and Microsoft's TypeScript. There is no apparent
winner in the battle. For now, we're utilizing flow. Flow offers a smaller learning curve than
TypeScript and requires less work migrating code. Being designed by Facebook, Flow
integrates with React better out of the box. Flow author James Kyle compares TypeScript to
Flow. Due to their identical syntax and semantics, moving from Flow to TypeScript is easy,
and we will reevaluate the issue later. Using one is better than none.
CONCLUSION
By incorporating some fundamental JavaScript functionalities, the JS framework enables the
construction of aesthetically pleasing user interfaces. As a result of the fact that it supplies
us with a markup syntax that is highly similar to HTML, it is simple to use and put into
practice. The Virtual DOM is the most critical feature we offer, as it eliminates the need to
reload a page and significantly boosts the application's overall performance. Because our
application is built on JavaScript, we also have access to a package manager called NPM.
This gives us an easier way to install external dependencies and simplifies managing these
packages. The lifecycle methods that React offers allow us to modify the lifecycle of the class
components we use. When it comes to the construction of applications or user interfaces,
many developers are turning to one of the most popular frameworks: React. As a result,
there is little doubt that, in the not-too-distant future, there will be an increase in demand
for this framework and the features it offers. The fact that React is a library that aids
businesses in achieving their objectives strengthens the company's position in the market. It
ensures its continued relevance in the years to come.
REFERENCE
Capała, Ł., & Skublewska-Paszkowska, M. (2018). Comparison of AngularJS and React.js frameworks
based on a web application. Journal of Computer Sciences Institute, 6, 82–86.
http://dx.doi.org/10.35784/jcsi.645
Ciliberti, J. (2017). Creating Modern User Experiences Using React.js and ASP.NET Core. In ASP.NET
Core Recipes, 361–409. http://dx.doi.org/10.1007/978-1-4842-0427-6_11
Dekkati, S., & Thaduri, U. R. (2017). Innovative Method for the Prediction of Software Defects Based
on Class Imbalance Datasets. Technology & Management Review, 2, 1–5.
https://upright.pub/index.php/tmr/article/view/78
Deming, C., Dekkati, S., & Desamsetti, H. (2018). Exploratory Data Analysis and Visualization for
Business Analytics. Asian Journal of Applied Science and Engineering, 7(1), 93–100.
https://doi.org/10.18034/ajase.v7i1.53
Desamsetti, H. (2016). Issues with the Cloud Computing Technology. International Research Journal of
Engineering and Technology (IRJET), 3(5), 321-323.
Desamsetti, H., & Mandapuram, M. (2017). A Review of Meta-Model Designed for the Model-Based
Testing Technique. Engineering International, 5(2), 107–110.
https://doi.org/10.18034/ei.v5i2.661
Gutlapalli, S. S. (2016a). An Examination of Nanotechnology’s Role as an Integral Part of
Electronics. ABC Research Alert, 4(3), 21–27. https://doi.org/10.18034/ra.v4i3.651
Gutlapalli, S. S. (2016b). Commercial Applications of Blockchain and Distributed Ledger
Technology. Engineering International, 4(2), 89–94. https://doi.org/10.18034/ei.v4i2.653
--0--
Archive Link:
https://abc.us.org/ojs/index.php/ei/issue/archive