If you forget to put a child node in, for example in Svelte it would be forgetting to put the uiView element, the error that gets thrown is rather cryptic.
The exact error depends on the renderer exactly, but for example in Svelte it looks like this:
Instead of throwing a cryptic error, we can reject with an error that gets bubbled out to stateChangeError.
If you forget to put a child node in, for example in Svelte it would be forgetting to put the
uiView
element, the error that gets thrown is rather cryptic.The exact error depends on the renderer exactly, but for example in Svelte it looks like this:
Instead of throwing a cryptic error, we can reject with an error that gets bubbled out to
stateChangeError
.