vue3-core/packages/runtime-core/src
Evan You c07751fd36 refactor: adjust `createApp` related API signatures
BREAKING CHANGE: `createApp` API has been adjusted.

  - `createApp()` now accepts the root component, and optionally a props
  object to pass to the root component.
  - `app.mount()` now accepts a single argument (the root container)
  - `app.unmount()` no longer requires arguments.

  New behavior looks like the following:

  ``` js
  const app = createApp(RootComponent)
  app.mount('#app')
  app.unmount()
  ```
2020-01-27 16:00:17 -05:00
..
components feat(transition): TransitionGroup 2019-11-28 18:41:01 -05:00
helpers feat(sfc): css modules support 2019-12-18 10:00:49 -05:00
apiCreateApp.ts refactor: adjust `createApp` related API signatures 2020-01-27 16:00:17 -05:00
apiDefineComponent.ts refactor(createComponent): rename to defineComponent (#549) 2019-12-22 10:58:12 -05:00
apiInject.ts feat(inject): allow usage in functional components 2019-11-06 12:51:26 -05:00
apiLifecycle.ts refactor: rename/re-organize files 2019-11-02 12:18:35 -04:00
apiOptions.ts fix(types): components options should accept components defined with defineComponent (#602) 2020-01-13 17:12:45 -05:00
apiReactivity.ts refactor(reactivity): separate track and trigger operation types 2019-12-03 11:30:24 -05:00
apiWatch.ts fix(watch): remove recorded effect on manual stop (#590) 2020-01-08 12:06:16 -05:00
component.ts fix(v-model/emit): update:camelCase events should trigger kebab case equivalent 2020-01-26 14:14:03 -05:00
componentProps.ts fix(runtime-core): should preserve props casing when component has no declared props 2020-01-06 15:05:57 -05:00
componentProxy.ts perf: optimize public properties access on componentProxy 2019-12-19 14:19:58 -05:00
componentRenderUtils.ts feat(hmr): reload and force slot update on re-render 2019-12-12 21:09:47 -05:00
componentSlots.ts feat(core): respect $stable slots flag per RFC 2019-11-26 10:03:36 -05:00
directives.ts refactor(runtime-core): tweak component proxy implementation 2019-12-10 11:14:29 -05:00
errorHandling.ts feat(runtime-core): emit now returns array of return values from all triggered handlers 2020-01-20 11:24:08 -05:00
h.ts refactor(createComponent): rename to defineComponent (#549) 2019-12-22 10:58:12 -05:00
hmr.ts feat(hmr): root instance reload 2019-12-22 12:25:04 -05:00
index.ts refactor: adjust `createApp` related API signatures 2020-01-27 16:00:17 -05:00
renderer.ts refactor: adjust `createApp` related API signatures 2020-01-27 16:00:17 -05:00
scheduler.ts fix(scheduler): warn recursive updates in postFlushCbs as well (#456) 2019-11-14 12:06:23 -05:00
shapeFlags.ts refactor: adjust shapeFlag naming 2019-11-02 21:26:25 -04:00
vnode.ts fix: Suspense should include into dynamic children (#653) 2020-01-22 10:45:27 -05:00
warning.ts refactor(runtime-core): tweak component proxy implementation 2019-12-10 11:14:29 -05:00