Skip to content

Commit

Permalink
fix(engine): wrapping assert for dev-only (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
caridy authored Jul 30, 2018
1 parent e66e0e9 commit 751904b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lwc-engine/src/framework/modules/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function update(oldVnode: VNode, vnode: VNode) {
prepareForPropUpdate(vm); // this is just in case the vnode is actually a custom element
}
elm[key] = cur;
} else {
} else if (process.env.NODE_ENV !== 'production') {
// setting undefined value initial is probably a mistake by the consumer,
// unless that the component author is accepting undefined, but we can't
// know that as of today, this is some basic heuristics to give them some
Expand Down

0 comments on commit 751904b

Please sign in to comment.