dotvvm icon indicating copy to clipboard operation
dotvvm copied to clipboard

Deprecate client-side `deserialize` function

Open exyi opened this issue 3 years ago • 0 comments

This function updates a hierarchy of knockout observables, which shouldn't be needed in current dotvvm versions - we have setState for that. In cases where it's really needed, knockout built-in mapping can probably be used.

For some compatibility, I'd replace deserialize implementation with target.setState(viewModel)

exyi avatar Dec 20 '22 10:12 exyi