Skip to content

Commit

Permalink
docs remove link to wiki page
Browse files Browse the repository at this point in the history
Also some minor writing changes.
  • Loading branch information
chenglou committed Dec 31, 2013
1 parent f871147 commit 4152609
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/tips/01-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ The React tips section provides bite-sized information that can answer lots of q

## Contributing

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.
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).
4 changes: 2 additions & 2 deletions docs/tips/10-props-in-getInitialState-as-anti-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Using props, passed down from parent, to generate state in `getInitialState` oft

var MessageBox = React.createClass({
getInitialState: function() {
return {nameWithQualifier: "Mr. " + this.props.name};
return {nameWithQualifier: 'Mr. ' + this.props.name};
},

render: function() {
Expand All @@ -38,7 +38,7 @@ Better:

var MessageBox = React.createClass({
render: function() {
return <div>{"Mr. " + this.props.name}</div>;
return <div>{'Mr. ' + this.props.name}</div>;
}
});

Expand Down
2 changes: 1 addition & 1 deletion docs/tips/13-false-in-jsx.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Renders as `id="false"`:
React.renderComponent(<div id={false} />, mountNode);
```

String "false" as input value:
String `"false"` as input value:

```js
/** @jsx React.DOM */
Expand Down

0 comments on commit 4152609

Please sign in to comment.