@mpxjs/core 2.10.4-beta.1 → 2.10.4-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/core",
3
- "version": "2.10.4-beta.1",
3
+ "version": "2.10.4-beta.2",
4
4
  "description": "mpx runtime core",
5
5
  "keywords": [
6
6
  "miniprogram",
@@ -51,7 +51,7 @@ function createEffect (proxy, components) {
51
51
  if (tagName === 'block') return Fragment
52
52
  const appComponents = global.__getAppComponents?.() || {}
53
53
  const generichash = proxy.target.generichash || ''
54
- const genericComponents = global.__mpxGenericsMap[generichash] || noop
54
+ const genericComponents = global.__mpxGenericsMap?.[generichash] || noop
55
55
  return components[tagName] || genericComponents(tagName) || appComponents[tagName] || getByPath(ReactNative, tagName)
56
56
  }
57
57
  const innerCreateElement = (type, ...rest) => {