Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Konvertera klasskomponenter till funktioner med React-Hooks — Riktlinjer för utvecklare
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics. (Software Product Engineering)
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics. (User experience and IT Architecture)
2022 (Swedish)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Converting Class Components to Functions Using React-Hooks — Developer Guidelines (English)
Abstract [en]

The maintainability of the system deteriorates since wide use of class-based components. Theoretically, researchers have dedicated their work on addressing the common problems of Class Components as: Huge components, Duplicated logic and Complex patterns. Recently, replacing the Class Components by converting to Functions is expected as a solution to eradicate such problems. 

In fact, we still lack the practical paradigm to guide the conversion projects. Furthermore, the adoption of the solution is based on the code quality improvements assessed on the newly generated functional codebase in a practical environment.  

Based on their Web platform, Glodon company provided the codebase conversion from Class to Functions with support of React-Hooks techniques. Thereafter, in this research, a design science study was employed as the main methodology to build a set of guidelines to conduct the conversion project. By application of the guideline and observing the data output from the Glodon project, the researcher studied the feasibility and effectiveness of the conversion from Class to Functions in a practical environment.     

Aslo, other methodologies were conducted to help collect the data and understand the research questions: an interview was used to identify the pain points of the class-based code; the code review and open discussion with the developers were conducted to evaluate the effectiveness of the code conversion. In the end, the examples and the consideration output in the project were analyzed and summarized for optimizing the conversion guideline which was evaluated by a survey and will contribute to other developers for their future conversion practice.

Place, publisher, year, edition, pages
2022. , p. 97
Keywords [en]
Class-based component, Functional component, Conversion project, React-Hooks, Developer’s Guideline, Web Application, Class component
National Category
Engineering and Technology Computer Systems
Identifiers
URN: urn:nbn:se:hj:diva-55642ISRN: JU-JTH-IKA-2-20220224OAI: oai:DiVA.org:hj-55642DiVA, id: diva2:1630577
Subject / course
JTH, Informatics
Presentation
2021-12-03, E1028, Jönköping University Gjuterigatan 5, Jönkoping, Sverige, 14:00 (English)
Supervisors
Examiners
Available from: 2022-01-26 Created: 2022-01-20 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(3029 kB)556 downloads
File information
File name FULLTEXT01.pdfFile size 3029 kBChecksum SHA-512
67881b6214f7b572e7d5636ec23b9affa61aeb64250374bb939f5e334ecd79b41218d27e1ae7d4da94c93af91f992605eae68729ebb3f59d96e050288b14242a
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Qing, HeDong, Wang
By organisation
JTH, Department of Computer Science and Informatics
Engineering and TechnologyComputer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 557 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 516 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf