refactor(core): use makeMap for faster string match checks (#282)

This commit is contained in:
Ayush Goyal
2019-10-15 21:41:08 +05:30
committed by Evan You
parent eb28d45933
commit 58fffcb987
6 changed files with 53 additions and 202 deletions

View File

@@ -1,6 +1,7 @@
export * from './patchFlags'
export * from './element'
export { globalsWhitelist } from './globalsWhitelist'
export { isGloballyWhitelisted } from './globalsWhitelist'
export { makeMap } from './makeMap'
export const EMPTY_OBJ: { readonly [key: string]: any } = __DEV__
? Object.freeze({})