hi, is it just me or are all user end frameworks focussed on dom-manipulation?
In my case I wish to "render the page in a page-sized canvas". So the dom is only minimally useful. The view is not an html (or html-like thingy such as angular uses) object, but rather just a javascript class that renders the canvas.
It seems there are no libraries that work well with this?
react works like this, in a way. you render the whole component/page whatever and it handles any dom manipulation needed. This isn't painting to canvas, though.
Well that seems to be just for drawing things - I mean "binding data to render objects". IE my viewmodel has list of vertices. - Then the renderer binds to this list (two way binding I wish to be able to add vertices by clicking) and renders it.
I can do it the "manual" way, but that would require the render to have knowledge of the (view)model. - Or the model to understand that it is actually being rendered by whatever I decide.
I like MVVM best right now :P. - Especially after I noted that whenever I did things myself in MVC I actually went for MVP (model-view-presenter) by accident constantly.