From dc1ba6f473ffc2a2993fe3f221db337eebd7f9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Mon, 19 Oct 2015 14:39:40 -0700 Subject: [PATCH] Update blog posts linking to react-codemod --- _posts/2015-09-10-react-v0.14-rc1.md | 2 +- _posts/2015-10-07-react-v0.14.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_posts/2015-09-10-react-v0.14-rc1.md b/_posts/2015-09-10-react-v0.14-rc1.md index a1ac0ef44..426ee70e3 100644 --- a/_posts/2015-09-10-react-v0.14-rc1.md +++ b/_posts/2015-09-10-react-v0.14-rc1.md @@ -57,7 +57,7 @@ These builds are also available in the `react` package on bower. ReactDOM.render(, node); ``` - We’ve published the [automated codemod script](https://github.com/facebook/react/blob/master/packages/react-codemod/README.md) we used at Facebook to help you with this transition. + We’ve published the [automated codemod script](https://github.com/reactjs/react-codemod/blob/master/README.md) we used at Facebook to help you with this transition. The add-ons have moved to separate packages as well: `react-addons-clone-with-props`, `react-addons-create-fragment`, `react-addons-css-transition-group`, `react-addons-linked-state-mixin`, `react-addons-perf`, `react-addons-pure-render-mixin`, `react-addons-shallow-compare`, `react-addons-test-utils`, `react-addons-transition-group`, and `react-addons-update`, plus `ReactDOM.unstable_batchedUpdates` in `react-dom`. diff --git a/_posts/2015-10-07-react-v0.14.md b/_posts/2015-10-07-react-v0.14.md index e95330bcf..3a8827495 100644 --- a/_posts/2015-10-07-react-v0.14.md +++ b/_posts/2015-10-07-react-v0.14.md @@ -15,7 +15,7 @@ Like always, we have a few breaking changes in this release. We know changes can If your code is free of warnings when running under React 0.13, upgrading should be easy. We have two new small breaking changes that didn't give a warning in 0.13 (see below). Every new change in 0.14, including the major changes below, is introduced with a runtime warning and will work as before until 0.15, so you don't have to worry about your app breaking with this upgrade. -For the two major changes which require significant code changes, we've included [codemod scripts](https://github.com/facebook/react/blob/master/packages/react-codemod/README.md) to help you upgrade your code automatically. +For the two major changes which require significant code changes, we've included [codemod scripts](https://github.com/reactjs/react-codemod/blob/master/README.md) to help you upgrade your code automatically. See the changelog below for more details. @@ -66,7 +66,7 @@ If you can’t use `npm` yet, we provide pre-built browser builds for your conve ReactDOM.render(, node); ``` - The old names will continue to work with a warning until 0.15 is released, and we’ve published the [automated codemod script](https://github.com/facebook/react/blob/master/packages/react-codemod/README.md) we used at Facebook to help you with this transition. + The old names will continue to work with a warning until 0.15 is released, and we’ve published the [automated codemod script](https://github.com/reactjs/react-codemod/blob/master/README.md) we used at Facebook to help you with this transition. The add-ons have moved to separate packages as well: - `react-addons-clone-with-props` @@ -161,7 +161,7 @@ Each of these changes will continue to work as before with a new warning until t - Due to the DOM node refs change mentioned above, `this.getDOMNode()` is now deprecated and `ReactDOM.findDOMNode(this)` can be used instead. Note that in most cases, calling `findDOMNode` is now unnecessary – see the example above in the “DOM node refs” section. - With each returned DOM node, we've added a `getDOMNode` method for backwards compatibility that will work with a warning until 0.15. If you have a large codebase, you can use our [automated codemod script](https://github.com/facebook/react/blob/master/packages/react-codemod/README.md) to change your code automatically. + With each returned DOM node, we've added a `getDOMNode` method for backwards compatibility that will work with a warning until 0.15. If you have a large codebase, you can use our [automated codemod script](https://github.com/reactjs/react-codemod/blob/master/README.md) to change your code automatically. - `setProps` and `replaceProps` are now deprecated. Instead, call ReactDOM.render again at the top level with the new props. - ES6 component classes must now extend `React.Component` in order to enable stateless function components. The [ES3 module pattern](/react/blog/2015/01/27/react-v0.13.0-beta-1.html#other-languages) will continue to work.