Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
component.js
index.html
readme.md
script.js

readme.md

JQuery to React

Demo

This example demonstrates a React component modifying an existing JQuery web application through an intermediate manager class. The component is passed a reference to the class in its constructor. The component can make changes to web page elements, outside of its internal scope, through calls to the manager class.

ReactDOM.render(React.createElement(MyComponent, { context: UIManager }), document.getElementById('root'));
});