dotnet-websharper / mvu

Model-View-Update architecture for WebSharper client-side applications.
https://dotnet-websharper.github.io/mvu/
Apache License 2.0
25 stars 3 forks source link

App.CreatePaged not working #2

Closed Jand42 closed 6 years ago

Jand42 commented 6 years ago

No page navigation occurs.

I see that there is a second Var<Model> created for the Pager, living in parallel with the Var<Model> in the App instance and this is causing the problem: the Pager.Doc is watching this second Var which is never changing from initial state.

As a quick fix, I am removing this duplication and tie the Pager to the app.View