3 ms·
React requirement today is that there can only be one version loaded at the same time, otherwise everything breaks. If you update React in Atom core, you run th
by mlangenberg 12y ago
React requirement today is that there can only be one version loaded at the same time, otherwise everything breaks. If you update React in Atom core, you run the risk of breaking all the plugins that were written for a different version of React.
Is this still an issue when you override `ID_ATTRIBUTE_NAME`?
require('react/lib/DOMProperty').ID_ATTRIBUTE_NAME = 'data-myproductid';
I am wondering if React is usable for writing a JS Widget, for example Disqus.
- methyl 12y ago> I am wondering if React is usable for writing a JS Widget, for example Disqus. It is, I've written some quite impressive widgets and it performs really well.
- mlangenberg 12y agoDo you load it into an iframe? If not, how do you make sure you are not conflicting with an existing version of window.React?