Due to refactor inside View component between versions 0.15.0 and 0.16.0 error occur when you try to update.
Consider for following code:
function renderViewModel(viewModel: any) {
ReactDOM.render(<View vm={viewModel} useLifecycle />, document.getElementById("root"));
}
When you changes viewModel via prop at 0.15.0 activate callback run always. Now in 0.16.0 (and higher) activation callback run only when componentDidMount and doesn't run when VM being changed.
Due to refactor inside View component between versions 0.15.0 and 0.16.0 error occur when you try to update.
Consider for following code:
When you changes viewModel via prop at 0.15.0
activate
callback run always. Now in 0.16.0 (and higher) activation callback run only when componentDidMount and doesn't run when VM being changed.