]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: move hooks to experimental
authorEvan You <yyx990803@gmail.com>
Sun, 28 Oct 2018 21:47:22 +0000 (17:47 -0400)
committerEvan You <yyx990803@gmail.com>
Sun, 28 Oct 2018 21:47:22 +0000 (17:47 -0400)
packages/runtime-core/src/experimental/hooks.ts [moved from packages/runtime-core/src/optional/hooks.ts with 100% similarity]
packages/runtime-core/src/index.ts

index 3737cd50fb49b92afc9ca9086887bc696298fd7d..be6d1fc639698a464d1553bb75454c7f940545f7 100644 (file)
@@ -19,7 +19,9 @@ export { KeepAlive } from './optional/keepAlive'
 export { mixins } from './optional/mixins'
 export { EventEmitter } from './optional/eventEmitter'
 export { memoize } from './optional/memoize'
-export { withHooks, useState, useEffect } from './optional/hooks'
+
+// Experimental APIs
+export { withHooks, useState, useEffect } from './experimental/hooks'
 
 // flags & types
 export { ComponentType, ComponentClass, FunctionalComponent } from './component'