When using .OnAfterRender() on the server side and not directly using any other client-side code, WebSharper.UI.js itself is not included, which results in the following JavaScript error in the activator:
Uncaught TypeError: Arrays.get(...) is not a constructor
Original report: https://forums.websharper.com/topic/85970
When using
.OnAfterRender()
on the server side and not directly using any other client-side code, WebSharper.UI.js itself is not included, which results in the following JavaScript error in the activator:and the OnAfterRender callback is not called.