Resumability - a New Primitive for Developing Web Applications

计算机科学 杠杆(统计) JavaScript 组分(热力学) 编码(集合论) 万维网 Web应用程序 块(置换群论) 事件(粒子物理) 软件工程 程序设计语言 物理 机器学习 集合(抽象数据类型) 热力学 量子力学 数学 几何学
作者
Juho Vepsäläinen,Miško Hevery,Petri Vuorimaa
出处
期刊:IEEE Access [Institute of Electrical and Electronics Engineers]
卷期号: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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
哞哞完成签到 ,获得积分10
1秒前
LILI2完成签到,获得积分10
1秒前
Lucas应助重要的鸣凤采纳,获得10
2秒前
Herowho完成签到,获得积分10
2秒前
2秒前
2秒前
术俱伤应助kkw采纳,获得50
2秒前
4秒前
5秒前
5秒前
6秒前
RS6发布了新的文献求助10
7秒前
小北发布了新的文献求助10
7秒前
8秒前
乐乐应助露露采纳,获得10
10秒前
10秒前
天天快乐应助搞怪的滑板采纳,获得10
10秒前
zyt完成签到,获得积分10
10秒前
LaffiteElla完成签到,获得积分10
11秒前
希望天下0贩的0应助Nanco采纳,获得10
11秒前
爆米花应助ALAI采纳,获得10
11秒前
12秒前
12秒前
111发布了新的文献求助10
12秒前
小马甲应助花花采纳,获得10
12秒前
从容的又蓝完成签到,获得积分10
12秒前
共享精神应助周奕迅采纳,获得10
12秒前
13秒前
晴朗完成签到 ,获得积分10
13秒前
夕瑶发布了新的文献求助10
13秒前
15秒前
耶格尔发布了新的文献求助10
16秒前
16秒前
16秒前
苏梗发布了新的文献求助10
17秒前
17秒前
18秒前
XStars10完成签到 ,获得积分10
18秒前
18秒前
科研通AI6.2应助mizhou采纳,获得10
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Metallurgy at high pressures and high temperatures 2000
Tier 1 Checklists for Seismic Evaluation and Retrofit of Existing Buildings 1000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 1000
The Organic Chemistry of Biological Pathways Second Edition 1000
Signals, Systems, and Signal Processing 610
An Introduction to Medicinal Chemistry 第六版习题答案 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6333054
求助须知:如何正确求助?哪些是违规求助? 8149761
关于积分的说明 17107747
捐赠科研通 5388822
什么是DOI,文献DOI怎么找? 2856801
邀请新用户注册赠送积分活动 1834281
关于科研通互助平台的介绍 1685299