Adding an array of strings to a store causes an "Invariant failed" error and stops loading the application when Wiretap is used.
Commenting out the someArray declaration avoids the error
class TodoList {
@observable todos = [];
// comment this line to avoid the error
@observable someArray = ["string 1", "string 2"];
@computed
get unfinishedTodoCount() {
return this.todos.filter(todo => !todo.finished).length;
}
}
Working example:
https://codesandbox.io/s/7j2147k0lj
Adding an array of strings to a store causes an "Invariant failed" error and stops loading the application when Wiretap is used.
Commenting out the someArray declaration avoids the error