Comparison of web application state management tools


Abstract

Modern web applications require flow of large amounts of data. To maintain order in code, a state manager was invented. With manager all data can be retrieved from and goes to one place. In this paper, four libraries for state management (NgRx, Ngxs, Redux, Vuex) were analyzed. Five criteria were used for the study: code metrics, solution structure, availability of ready-made implementations, community support, and performance testing. Results showed that there is not the best tool in every criterion, but when comparing the results obtained, the most universal solution is Vuex.


Keywords

management state; FLUX; store

A. Kazarian, V. Teslyuk, I. Tsmots, J. Greguš, Development of a «smart» home system based on the modular structure and architectural data flow pattern Redux, Procedia Computer Science. 155 (2019), 35-42.

S. Mukhiya1, K. Hung. An Architectural Style for Single Page Scalable Modern Web Application, International Journal of Recent Research Aspects, Vol. 5, Issue 4 (2018), 6-13.

M. Kaproń, B. Pańczyk. Nowoczesne technologie tworzenia graficznego interfejsu użytkownika w aplikacjach internetowych, Journal of Computer Sciences Institute 15 (2020), 139-152.

D. Holmstedt, Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST, Linköping University, Department of Computer and Information Science, Bachelor’s thesis (2019).

W. Wenhao, React Native vs Flutter, Cross-platforms mobile application frameworks, Metropolia University of Applied Sciences, Bachelor of Engineering Information technology Thesis (2018).

Porównanie flux oraz mvc https://madasamy.medium.com/flux-vs-mvc-design-pattern-de134dfaa12b [12.04.2021].

Opis czym jest flux https://jerzywickowski.pl/flux/co-to-jest-flux/, [25.03.2021].

Wprowadzenie do wzorca architektonicznego Flux, https://www.freecodecamp.org/news/an-introduction-to-the-flux-architectural-pattern-674ea74775c9/, [25.03.2021].

A. Boduch, Flux architecture, Packt Publishing Ltd (2016).

D. Bugl, Learning Redux, Packt Publishing Ltd (2017).

StackOverFlow – portal dla programistów, https://stackoverflow.com, [12.03.2021].

Trendy zapytań w latach 2009-2021 w serwisie StackOverFlow, https://insights.stackoverflow.com/trends?tags=ngrx%2Cvuex%2Credux, [11.04.2021].

Download

Published : 2021-09-30


Szymanek, K., & Pańczyk, B. (2021). Comparison of web application state management tools. Journal of Computer Sciences Institute, 20, 183-188. https://doi.org/10.35784/jcsi.2675

Kacper Szymanek  kacper.szymanek1@pollub.edu.pl
  Poland
Beata Pańczyk