@samitouri / QOS-React-2 / commits / 41526091a0

docs remove link to wiki page

Also some minor writing changes.

Cheng Lou committed Dec 30, 2013 at 23:38 UTC 41526091a0268b26b1dfd9dfb825432921ffa818
3 files changed +4 -4
docs/tips/01-introduction.md
+1 -1
@@ -10,4 +10,4 @@ The React tips section provides bite-sized information that can answer lots of q
10
11 ## Contributing
12
13 -Submit a pull request to the [React repository](https://github.com/facebook/react) following the [current tips](https://github.com/facebook/react/tree/master/docs) entries' style. If you have a recipe that needs review prior to submitting a PR you can find help in the [#reactjs channel on freenode](irc://chat.freenode.net/reactjs) or the [reactjs Google group](http://groups.google.com/group/reactjs). Also, check the [Tips Wiki](https://github.com/facebook/react/wiki/Tips-(Previously-Cookbook)) for entries in-progress and general guidelines on writing React tips.
13 +Submit a pull request to the [React repository](https://github.com/facebook/react) following the [current tips](https://github.com/facebook/react/tree/master/docs) entries' style. If you have a recipe that needs review prior to submitting a PR you can find help in the [#reactjs channel on freenode](irc://chat.freenode.net/reactjs) or the [reactjs Google group](http://groups.google.com/group/reactjs).
docs/tips/10-props-in-getInitialState-as-anti-pattern.md
+2 -2
@@ -20,7 +20,7 @@ Using props, passed down from parent, to generate state in `getInitialState` oft
20
21 var MessageBox = React.createClass({
22 getInitialState: function() {
23 - return {nameWithQualifier: "Mr. " + this.props.name};
23 + return {nameWithQualifier: 'Mr. ' + this.props.name};
24 },
25
26 render: function() {
@@ -38,7 +38,7 @@ Better:
38
39 var MessageBox = React.createClass({
40 render: function() {
41 - return <div>{"Mr. " + this.props.name}</div>;
41 + return <div>{'Mr. ' + this.props.name}</div>;
42 }
43 });
44
docs/tips/13-false-in-jsx.md
+1 -1
@@ -16,7 +16,7 @@ Renders as `id="false"`:
16 React.renderComponent(<div id={false} />, mountNode);
17 ```
18
19 -String "false" as input value:
19 +String `"false"` as input value:
20
21 ```js
22 /** @jsx React.DOM */