magic-script-components
magic-script-components copied to clipboard
Accept `undefined` as valid property value.
In order to simplify the UI declaration by avoiding multiple if/else or switch blocks the property value should accept (and ignore) value of undefined
.
There is a risk of silently masking a bug when the undefined
value is actually due to a bug. In order to address this situation the framework should print warning message to the console (debug mode only).