vue3-core/packages
Evan You d0b7ef3b61
feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958)
- No longer implicitly register global JSX types by default
  - This avoid conflict when using Vue in the same project with React
  - Global registration must now be done by explicitly importing /
    referencing `vue/jsx`, or listing it in `compilerOptions.types`.
- Add `vue/jsx-runtime` to support `jsxImportSource` usage
  - Can enable globally by setting `compilerOptions.jsxImportSource` to `'vue'`
  - Can also opt-in per-file with `/** @jsxImportSource vue */`
2023-03-26 16:40:53 +08:00
..
compiler-core build: upgrade to TypeScript 5.x 2023-03-23 17:11:35 +08:00
compiler-dom chore: bump vite & vitest 2023-03-23 16:36:33 +08:00
compiler-sfc chore: bump vite & vitest 2023-03-23 16:36:33 +08:00
compiler-ssr release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
dts-test feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00
reactivity release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
reactivity-transform chore: bump vite & vitest 2023-03-23 16:36:33 +08:00
runtime-core fix(types): ensure defineProps with generics return correct types 2023-03-26 15:58:04 +08:00
runtime-dom feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00
runtime-test release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
server-renderer release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
sfc-playground chore: bump vite & vitest 2023-03-23 16:36:33 +08:00
shared feat(dx): improve readability of displayed types for props 2023-03-24 15:06:43 +08:00
size-check release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
template-explorer chore: add redirect for template explorer 2023-03-26 10:01:53 +08:00
vue feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958) 2023-03-26 16:40:53 +08:00
vue-compat test: improve test case on `$el` (#7922) 2023-03-25 09:01:10 +08:00
global.d.ts chore: remove no longer needed shim for stream/web 2021-12-12 10:12:20 +08:00