dillon1000/react
Commit
Browse files Supporting mounting into iframes
Sencha says that separating big components into their own iframes was important for performance: http://www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story. Today the only thing stopping us is that events don't bubble to our events system from an iframe. This diff looks at the owning document of the container and adds top-level listeners to it. It should not change existing behavior and should improve our support for this.
Changed paths6 files
First-parent comparisonsrc/core/ReactEventEmitter.js ModifiedM src/core/ReactEventEmitterMixin.js ModifiedM src/core/ReactMount.js ModifiedM src/core/__tests__/ReactComponent-test.js ModifiedM src/core/__tests__/ReactEventEmitter-test.js ModifiedM src/eventPlugins/__tests__/AnalyticsEventPlugin-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…