mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
13 lines
285 B
JavaScript
13 lines
285 B
JavaScript
var React = require('React');
|
|
var ReactComponentWithPureRenderMixin = require('ReactComponentWithPureRenderMixin');
|
|
|
|
var MyComponent = React.createClass({
|
|
mixins: [ReactComponentWithPureRenderMixin],
|
|
|
|
render: function() {
|
|
return <div />;
|
|
}
|
|
});
|
|
|
|
module.exports = MyComponent;
|