Closed 941design closed 6 years ago
Hi and thanks for the contribution!
Can you elaborate on how this happened to you? state.config
should not be undefined and I‘d like to fix the cause of that.
state is parsed inside try block: https://github.com/dennisreimann/uiengine/blob/v1.0.6/packages/core/src/core.js#L39 finally block passes state to debug2: https://github.com/dennisreimann/uiengine/blob/v1.0.6/packages/core/src/core.js#L72 debug2 relies on _state.config to be set: https://github.com/dennisreimann/uiengine/blob/v1.0.6/packages/util/src/debug.js#L4
Cannot destructure property
debug
of 'undefined' or 'null'.occurred when state.config == undefined