dotnet-websharper / ui

A reactive UI library for WebSharper.
https://websharper-samples.github.io/ui/
Apache License 2.0
77 stars 22 forks source link

Elt.OnAfterRender() is missing a dependency on OnAfterRenderControl #198

Closed Tarmil closed 6 years ago

Tarmil commented 6 years ago

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:

Uncaught TypeError: Arrays.get(...) is not a constructor

and the OnAfterRender callback is not called.