vue3-yuanma/packages/runtime-core/__tests__
Evan You 02cbbb718c perf: support only attaching slot scope ids when necessary
This is done by adding the `slotted: false` option to:

- compiler-dom
- compiler-ssr
- compiler-sfc (forwarded to template compiler)

At runtime, only slotted component will render slot fragments with
slot scope Ids. For SSR, only slotted component will add slot scope Ids
to rendered slot content. This should improve both runtime performance
and reduce SSR rendered markup size.

Note: requires SFC tooling (e.g. `vue-loader` and `vite`) to pass on
the `slotted` option from the SFC descriptoer to the `compileTemplate`
call.
2021-03-05 18:28:12 -05:00
..
components refactor: fix implementation of SFC :slotted id handling 2021-03-05 18:28:12 -05:00
helpers refactor: fix implementation of SFC :slotted id handling 2021-03-05 18:28:12 -05:00
apiAsyncComponent.spec.ts fix(runtime-core): fix async component ref handling (#3191) 2021-03-01 15:00:32 -05:00
apiCreateApp.spec.ts docs(type): remove unmount parameters (#2601) 2021-02-03 19:09:59 +01:00
apiExpose.spec.ts fix(runtime-core): align $parent/$root with the template ref when using expose (#3158) 2021-02-07 14:39:52 +01:00
apiInject.spec.ts types: use non-null assertion instead of explicit type cast (#2974) 2021-02-05 19:55:23 +01:00
apiLifecycle.spec.ts build(deps): upgrade to TypeScript 4 2020-08-20 17:48:28 -04:00
apiOptions.spec.ts test: test case for #3300, #3301 2021-02-25 09:07:49 -05:00
apiSetupContext.spec.ts refactor(runtime-core): refactor props resolution 2020-04-06 17:37:47 -04:00
apiSetupHelpers.spec.ts test: tests for script setup helpers 2020-11-26 10:01:36 -05:00
apiTemplateRef.spec.ts fix(runtime-core/refs): handle multiple merged refs for dynamic component with vnode 2020-09-14 15:33:38 -04:00
apiWatch.spec.ts fix(runtime-core): instanceWatch should pass this.proxy to source as the first argument (#2753) 2021-02-09 08:00:32 +01:00
componentEmits.spec.ts test: fix typo in expect message (#2678) 2021-02-05 20:06:21 +01:00
componentProps.spec.ts fix(runtime-core): allow overriding properties other than props (#3105) 2021-02-05 19:59:46 +01:00
componentPublicInstance.spec.ts chore: rename test to match src filename 2021-03-01 12:30:04 -05:00
componentSlots.spec.ts test(runtime-core): add tests for componentSlots (#1940) 2020-08-26 12:17:21 -04:00
directives.spec.ts fix(runtime-core): fix directive merging on component root 2020-10-07 22:02:32 -04:00
errorHandling.spec.ts fix(runtime-core): error handling for created/beforeCreate hooks 2020-10-07 16:58:19 -04:00
h.spec.ts feat(runtime-core): support variadic children in h for simple JSX compat 2020-08-21 21:54:33 -04:00
hmr.spec.ts fix(hmr): fix updates for imported but not yet rendered components 2020-10-26 17:52:27 -04:00
hydration.spec.ts fix(runtime-dom): support mounting app to svg container (#2929) 2021-03-01 11:51:32 -05:00
misc.spec.ts refactor(reactivity): use more efficient reactive checks 2020-05-02 16:58:17 -04:00
rendererAttrsFallthrough.spec.ts fix(attr-fallthrough): ensure consistent attr fallthrough for root fragments with comments 2020-11-27 18:04:26 -05:00
rendererChildren.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
rendererComponent.spec.ts build(deps-dev): handle @types/jest bump 2020-12-02 17:05:30 -05:00
rendererElement.spec.ts test(runtime-core/renderer): tests for rendering elements (#699) 2020-03-09 17:08:05 -04:00
rendererFragment.spec.ts fix: inherit el for static nodes inside keyed template fragment (#2089) 2020-09-14 16:02:29 -04:00
rendererOptimizedMode.spec.ts fix(runtime-core): non-stable Fragment should always unmount its children (#2445) 2020-10-20 14:59:55 -04:00
scheduler.spec.ts fix(scheduler): ensure updates are always inserted in ascending id order (#3184) 2021-02-25 09:37:25 -05:00
scopeId.spec.ts perf: support only attaching slot scope ids when necessary 2021-03-05 18:28:12 -05:00
vnode.spec.ts refactor: fix implementation of SFC :slotted id handling 2021-03-05 18:28:12 -05:00
vnodeHooks.spec.ts test(runtime-core): tests for vnode hooks 2020-03-18 16:35:04 -04:00