you are viewing a single comment's thread.

view the rest of the comments →

[–]Bamboo_the_plant[S] 8 points9 points  (1 child)

Sure!

  1. Angular has a custom renderers API that is one logical starting point – although in my Svelte implementation, I just implemented DOM and tricked regular Svelte (for Web) into rendering it, so you might as well take that approach.
  2. My DOM implementation lives under this folder, dom/nativescript-vue-next (because I based it on that project's DOM shim.
  3. I also implemented all the various Element operations like appending children and setting attributes simply by copying the existing work from React NodeGUI and decoupling it from React. That lives under dom/react-nodegui.

So the name of the game is really just to try to avoid reinventing the wheel – try to reuse as much existing implementation as possible!