This reverts commit 032576cf7b.
032576cf7b
@ -4,9 +4,7 @@ class Example extends React.Component {
renderValue = value => {
return (
<div>
Context value:{value}. Props value:{
this.props.counter
}
Context value:{value}. Props value:{this.props.counter}
</div>
);
};
@ -6,9 +6,7 @@ class Example extends React.Component {
<Ctx.Consumer>
{value => (
)}
</Ctx.Consumer>