计算机科学
杠杆(统计)
JavaScript
组分(热力学)
编码(集合论)
万维网
Web应用程序
块(置换群论)
事件(粒子物理)
软件工程
程序设计语言
物理
几何学
数学
集合(抽象数据类型)
量子力学
机器学习
热力学
作者
Juho Vepsäläinen,Miško Hevery,Petri Vuorimaa
出处
期刊:IEEE Access
[Institute of Electrical and Electronics Engineers]
日期:2024-01-01
卷期号:12: 9038-9046
标识
DOI:10.1109/access.2024.3352891
摘要
Hydration is a common technique employed by current JavaScript-based frontend frameworks, such as React. In hydration, the application code is re-executed on the client to recover component boundaries, application state, and event listeners. In this article, we look into a new primitive called resumability that avoids thework as the necessary information is serialized into HTML. The idea has been adopted by Asta (2023), Google Wiz, Marko (planned for version 6 [1]), Sidewind (since 2022), and Qwik (2021) as a main building block. Resumability gives these solutions unique advantages by avoiding the cost of hydration. Furthermore, resumability can allow developers to leverage code-splitting out of the box, depending on the implementation. The shift has implications for both developer and user experience. This article aims to understand why resumability matters and why it is a good option for replacing earlier hydration-based approaches. We also consider challenges related to adopting resumability on a framework level and briefly highlight the first resumable solutions for developing web applications.
科研通智能强力驱动
Strongly Powered by AbleSci AI