fgnass / domino

Server-side DOM implementation based on Mozilla's dom.js
BSD 2-Clause "Simplified" License
768 stars 120 forks source link

Using domino for Angular server side rendering #100

Closed vikerman closed 7 years ago

vikerman commented 7 years ago

Just opening for discussion/thoughts:

In Angular we currently have an interface through which Angular manipulates the DOM (on server and browser). We want to get rid of this and just use a DOM API on both server and browser. This would also let our users bring in third party libraries to work more seamlessly on the server.

I am prototyping a domino backed DOM implementation for Angular on the server since I found domino to provide good performance while providing the set of DOM APIs that we need.

Are there issues in domino I should be aware of while using it on the server?

cscott commented 7 years ago

Not that I know of: we use domino server side for Parsoid here at wikimania. Just stick to the modern DOM interfaces, as domino doesn't support every jot and tittle of the ancient backward compat stuff. The README describes the common gotchas I think. And patches are always welcome if you find some missing feature.

On Aug 15, 2017 9:50 AM, "vikerman" notifications@github.com wrote:

Just opening for discussion/thoughts:

In Angular we currently have an interface through which Angular manipulates the DOM (on server and browser). We want to get rid of this and just use a DOM API on both server and browser. This would also let our users bring in third party libraries to work more seamlessly on the server.

I am prototyping a domino backed DOM implementation for Angular on the server since I found domino to provide good performance while providing the set of DOM APIs that we need.

Are there issues in domino I should be aware of while using it on the server?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fgnass/domino/issues/100, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJhsKefkCKPR_1-v0zu8XylXHpQmJzwks5sYaISgaJpZM4O3m6N .

vikerman commented 7 years ago

Thanks! Good to know it's being used in production. Will open individual issues for anything we encounter. Looking forward to collaborating on domino!