The analyzer can be run at night on the server and warn about suspicious code fragments. So, let's point out that again - the main idea of static analysis is not to find one hidden bug on the day before the release, but to fix dozens of bugs day by day. There is no point in wasting 50 hours looking for a bug that could be found with static analysis. _dataService.GetDataModelsBehaviorSubject().The main value of static analysis is in its regular use, so that errors are identified and fixed at the earliest stages. Module = await JS.InvokeAsync("import", "./js/test.js") ![]() Protected override async Task OnAfterRenderAsync(bool firstRender) DoJsThingy(model.Id)" => CreateDataModel()">New Data Model My C# component file u/inject IDataService _dataService If I remove the JS call, the app doesn't freeze after the hover event. It appears to me that the application is locking up during the return from our C# method DoJsThingy(). I validated this by throwing a simple WriteLine() just after it. The odd behavior is that the JS method executes and returns just fine. When the alert is closed, the mouse pointer is still in the hover-over style from div A, and the app freezes. ![]() When I hover div A over div B, the alert is shown. DoJsThingy makes a call to a javascript function using IJsObjectReference.InvokeVoidAsync(). When A is initially dragged over B, DoJsThingy() is called. I have a vertical list of items where draggable="true".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |