zova-jsx 1.1.22 → 1.1.23

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -215,6 +215,9 @@ class ZovaJsx extends BeanSimple {
215
215
  return beanInstance.execute(props, renderContext, next);
216
216
  }
217
217
  render(componentOptions, props, celScope, renderContext) {
218
+ if (!componentOptions) {
219
+ throw new Error(`render component should not ${componentOptions}`);
220
+ }
218
221
  props = props ?? {};
219
222
  componentOptions = this.normalizeComponenOptions(componentOptions);
220
223
  // vIf
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zova-jsx",
3
- "version": "1.1.22",
4
- "gitHead": "8d42f31a8ee23be4564814a901d770307635c849",
3
+ "version": "1.1.23",
4
+ "gitHead": "ee0bdf92186d7979b5f8f167c653394eba69b21c",
5
5
  "description": "Zova JSX",
6
6
  "keywords": [
7
7
  "ioc",