E-Ink 新闻日报

返回列表

Rust版React Compiler现已原生接入Vite

oxc团队发布了官方Rust版React Compiler支持,相比Babel带来约17.6倍的编译速度提升。Vite v6.1.0通过配置{ compiler: true }引入了实验性原生React Compiler支持,为无法使用官方Vite插件的用户也提供了替代方案。

背景

React Compiler(原React Forget)旨在通过自动memoization消除不必要的重新渲染。oxc项目正在开发该编译器的高性能Rust实现,作为Babel版本的替代方案。

来源
hackernews
发布时间
2026年9月5日 01:49
评分
7.0 / 10