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
刚刚
3秒前
地瓜完成签到,获得积分10
4秒前
汉堡包应助贪玩的无招采纳,获得10
4秒前
海石酸辣完成签到 ,获得积分10
9秒前
qiao发布了新的文献求助10
11秒前
22秒前
练得身形似鹤形完成签到 ,获得积分10
22秒前
11111发布了新的文献求助10
23秒前
李爱国应助贪玩的无招采纳,获得50
24秒前
swan完成签到 ,获得积分10
24秒前
懒洋洋发布了新的文献求助10
26秒前
从容的香菇完成签到,获得积分10
29秒前
欢喜可乐完成签到 ,获得积分10
32秒前
清欢渡完成签到,获得积分10
36秒前
40秒前
42秒前
wickedzz发布了新的文献求助10
44秒前
达利园发布了新的文献求助10
46秒前
852应助11111采纳,获得10
47秒前
48秒前
48秒前
48秒前
48秒前
48秒前
48秒前
48秒前
48秒前
48秒前
48秒前
48秒前
49秒前
小蘑菇应助科研通管家采纳,获得10
49秒前
49秒前
科研通AI6.2应助达利园采纳,获得10
52秒前
娃娃菜发布了新的文献求助10
56秒前
丘比特应助贪玩的无招采纳,获得10
56秒前
58秒前
星夜发布了新的文献求助10
1分钟前
Guorsh完成签到 ,获得积分10
1分钟前
高分求助中
Yangtze Reminiscences. Some Notes And Recollections Of Service With The China Navigation Company Ltd., 1925-1939 800
Common Foundations of American and East Asian Modernisation: From Alexander Hamilton to Junichero Koizumi 600
Signals, Systems, and Signal Processing 510
Discrete-Time Signals and Systems 510
T/SNFSOC 0002—2025 独居石精矿碱法冶炼工艺技术标准 300
The Impact of Lease Accounting Standards on Lending and Investment Decisions 250
The Linearization Handbook for MILP Optimization: Modeling Tricks and Patterns for Practitioners (MILP Optimization Handbooks) 200
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5852066
求助须知:如何正确求助?哪些是违规求助? 6275741
关于积分的说明 15627645
捐赠科研通 4967992
什么是DOI,文献DOI怎么找? 2678855
邀请新用户注册赠送积分活动 1623112
关于科研通互助平台的介绍 1579503