You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
patch-dom.html patches DOM methods to work with shady dom, however it's phrased as an experiment that can trade performance for library interop. The alternative to using it is writing patches around the library you're targeting (e.g some folks have tried doing this with virtual-dom, incremental DOM or React).
Does Polymer have a preference for developers using patch-dom over monkey-patching other libraries? I understand this question is a little nuanced as the promise of Web Components is that interop becomes less complex, but was interested in thoughts on this.
I think it's also fine for the answer to be YMMV :)
<scriptsrc="bower_components/webcomponentsjs/webcomponents-lite.js"></script><scriptsrc="bower_components/react/JSXTransformer.js"></script><scriptsrc="bower_components/react/react.min.js"></script><linkrel="import" href="bower_components/polymer/polymer.html"><linkrel="import" href="bower_components/polymer-experiments/patch-dom.html"><!-- some imports --><!-- React app that uses Polymer Element --><scriptsrc="app.js" type="text/jsx"></script><divid="app"></div><scripttype="text/jsx">functionrender(){React.render(<App></App>,document.getElementById("app"));}render();</script>
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
patch-dom.html patches DOM methods to work with shady dom, however it's phrased as an experiment that can trade performance for library interop. The alternative to using it is writing patches around the library you're targeting (e.g some folks have tried doing this with virtual-dom, incremental DOM or React).
Does Polymer have a preference for developers using patch-dom over monkey-patching other libraries? I understand this question is a little nuanced as the promise of Web Components is that interop becomes less complex, but was interested in thoughts on this.
I think it's also fine for the answer to be YMMV :)
The text was updated successfully, but these errors were encountered: