State Management in React
Tran, Kim (2023)
Tran, Kim
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2023052413762
https://urn.fi/URN:NBN:fi:amk-2023052413762
Tiivistelmä
The primary purpose of this thesis is to study different state management tools in a React application thoroughly. React has been one of the most popular front end libraries for developing single page applications, and state management is a fundamental aspect when building a React app. Within React, “state” is an important JavaScript object that can change the behavior of a component, resulting in application rerendering, based on the user’s actions. As developers, it is essential to know different kinds of approaches and patterns, as well as practical use cases and trade offs of many state management tools.
The thesis will briefly introduce React and why state management is so important so that readers new to the library can learn the basics and those who are already familiar with the technology can sharpen their knowledge. As we understand the significance of state management in React, several libraries will be studied and compared through an example application to help developers consider when each of the tools best serves their purposes.
As this is a broad topic, the libraries that will be discussed in the study are not comprehensive and definitive. Rather, it shows how different tools approach the same problem in their own unique way. Understanding how each tool works allows developers to be able to find the most appropriate state management library depending on their project and personal preferences.
The thesis will briefly introduce React and why state management is so important so that readers new to the library can learn the basics and those who are already familiar with the technology can sharpen their knowledge. As we understand the significance of state management in React, several libraries will be studied and compared through an example application to help developers consider when each of the tools best serves their purposes.
As this is a broad topic, the libraries that will be discussed in the study are not comprehensive and definitive. Rather, it shows how different tools approach the same problem in their own unique way. Understanding how each tool works allows developers to be able to find the most appropriate state management library depending on their project and personal preferences.