From ce02428d845dc919e85bc7031fd7741dcdc9c9b9 Mon Sep 17 00:00:00 2001 From: Vincent Riemer Date: Fri, 6 Feb 2015 14:34:09 -0500 Subject: [PATCH] Corrected pure-render-mixin documentation Fixed the PureRenderMixin documentation which was incorrectly importing the base React library instead of ReactWithAddons. --- docs/10.7-pure-render-mixin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/10.7-pure-render-mixin.md b/docs/10.7-pure-render-mixin.md index ee82f5e0..ab48a407 100644 --- a/docs/10.7-pure-render-mixin.md +++ b/docs/10.7-pure-render-mixin.md @@ -11,7 +11,7 @@ If your React component's render function is "pure" (in other words, it renders Example: ```js -var PureRenderMixin = require('react').addons.PureRenderMixin; +var PureRenderMixin = require('react/addons').addons.PureRenderMixin; React.createClass({ mixins: [PureRenderMixin],