Does anybody know of a way to automatically generate front-end errors or at least some sort of warning if elements likeDivActionsForSelectedPlace are undefined in the frozen state?
If ClientIDs is undefined, of course it crashes but if it has value but does not contain DivActionsForSelectedPlace, it is silently ignored which is bad and needs treatment on each and every case.
PS:
also worthy of mention:
If accidentally I try to assign to / change a value in the frozen state by accident/unaware, it is silently ignored. Any idea on how to guard against this and somehow generate a message to Console tab? (The online docs warn about this and this is a good thing)
We have fixed the Object.freeze bug in the 4.3.0-preview03-final version. We cannot release this as a 4.2 patch, since it could break someone. Version 4.3 should be compatible with 4.2 BP, bootstrap and other components (I hope they didn’t depend on the objects not being freezed )
I’d just replace <PackageReference Include="DotVVM" Version="4.2.6" /> with <PackageReference Include="DotVVM" Version="4.3.0-preview03-final" />, but you should be able to install it with the Visual Studio NuGet GUI