1

Vue 3.3 to support externally imported types

 1 year ago
source link: https://www.infoworld.com/article/3684729/vue-33-to-support-externally-imported-types.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Vue 3.3 to support externally imported types

Front-end JavaScript framework project will be working on an alternative compilation strategy called Vapor Mode in the coming year.

By Paul Krill

Editor at Large,

InfoWorld | Jan 5, 2023 3:00 am PST

Vue, the popular JavaScript framework for building web UIs, is on a path to add support for externally imported types in a planned 3.3 release. Two features the project originally planned to graduate in Vue 3.3, Suspense and Reactivity Transform, will remain in experimental status.

Plans for Vue 3.3 include support of externally imported types in `<script setup>` macros, Vue founder Evan You wrote in a January 1 blog post. The current stable release is Vue 3.2.45, published in November. Vue’s currently experimental Suspense feature, for orchestrating async dependencies in a component tree, still needs further discussion, You wrote. The same goes for another experimental capability, Reactivity Transform, which is a set of compiler transforms that improve ergonomics when using Vue’s reactivity APIs.

Vue’s builders also plan to evaluate user-submitted RFCs (request for comments) and seek comments on features eyed for Vue 3.4 and beyond, such as SSR (server-side-rendered) lazy hydration, to improve estimated input latency and time to interactive of server-rendered Vue applications.

Vue’s builders also are examining an alternative compilation strategy, called Vapor Mode, which compiles Vue single-file components into JavaScript output that is more performant, uses less memory, and requires less runtime support code compared to the existing virtual DOM0-based output. Vapor Mode is in an early phase.

There is no plan for big, breaking changes to Vue for the foreseeable future, You said. But Vue’s builders also want to improve the framework’s release cadence, with smaller, more-frequent minor releases, to get more features out quicker. Features would only ship in minor versions, as opposed to the previous mode of grouping many features together in big, infrequent minor releases. This resulted in low-complexity features being blocked while work proceeded on higher-complexity capabilities.

Paul Krill is an editor at large at InfoWorld, whose coverage focuses on application development.

Follow

Copyright © 2023 IDG Communications, Inc.

Sponsored Links


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK