Commit Graph

77 Commits

Author SHA1 Message Date
Alan deLevie
a69a581441 Make tutorial CDN URLs use https 2015-02-17 14:34:01 -05:00
Paul O’Shannessy
53ae8e893e Merge pull request #2968 from ClimbsRocks/patch-5
Reordered 'Using Props' before 'Component Properties'
2015-02-09 10:08:44 -08:00
Preston Parry
809c13e552 Update tutorial.md 2015-02-05 22:57:36 -08:00
juan serrano
74f7616a0a Corrected documentation 2015-02-03 18:41:47 -08:00
Héliton Nordt
711becb883 Fix highlighting 2015-02-03 08:38:16 -02:00
Héliton Nordt
0f27514cef Removing unnecessary returns 2015-02-02 17:20:38 -02:00
Rafael
c3c9103538 remove extraneous comma in tutorial 2015-01-31 12:31:14 -10:00
Preston Parry
302fd73793 Update tutorial.md 2015-01-27 20:27:16 -08:00
Sophia Westwood
ec3a62420b Correctly highlight changed line in tutorial.
This excerpt adds the onSubmit handler to the form element, but the line was not highlighted as having been modified.
2015-01-21 17:15:31 -08:00
Paul O’Shannessy
259ad6720c Merge pull request #2360 from beausmith/patch-1
Highlighted changed lines in examples
2015-01-16 13:10:00 -08:00
Paul O’Shannessy
467d020734 [docs] Talk about running a server in tutorial
We've talked about this a few times and even half done it. This is for
real.
2015-01-07 17:26:54 -08:00
Alexander Tseung
52dc9aec01 Update tutorial.md for grammatical changes
Update tutorial.md to improve grammatical parallelism in features list. Also added periods to follow first item's syntax.

BEFORE: "Live updates: as other users comment we'll pop them into the comment view in real time"
AFTER: "Live updates: other users' comments are popped into the comment view in real time."

BEFORE: "Markdown formatting: users can use Markdown to format their text"
AFTER: "Markdown formatting: users can use Markdown to format their text."
2014-12-15 23:43:26 -08:00
Sam Saccone
df28c4779c Update tutorial language to be more explicit.
The word "Friends" does establish a relationship however it does not fit in the vernacular of react. 
This change makes the phrase more explicit and more familiar.
2014-11-18 12:36:20 -05:00
John Heroy
35e1db2bac Add comma for readability in tutorial 2014-10-28 15:22:40 -07:00
Paul O’Shannessy
febd05b900 Update React.DOM -> React.createElement through docs 2014-10-28 11:06:30 -07:00
Ben Alpert
fb46ad0356 Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
2014-10-22 14:01:54 -07:00
Cheng Lou
33c7ee6112 [Docs] Remove most of @jsx
I kept some places intact (search for @jsx) because they require other bigger changes:

- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
2014-10-20 14:44:07 -04:00
Beau Smith
43e1e16e6f Highlighted changed lines in examples 2014-10-15 23:01:05 -07:00
Simon Welsh
54e88388b1 Correct highlighted block 2014-09-06 20:46:19 +10:00
jon madison
2d6231f486 corrected highlighted/updated line in tutorial example 2014-09-04 16:07:34 -07:00
Michael Randers-Pehrson
83cf623476 Adding e.preventDefault() to handleSubmit,
Also added plain `return`, updated text.
2014-08-22 08:27:23 -04:00
Michael Randers-Pehrson
65874732b0 Including missing validation check
The validation check was removed from the update to the CommentForm handleSubmit function.
2014-08-21 23:00:05 -04:00
Paul O’Shannessy
2865e4a1c8 Set default layout for docs 2014-08-13 11:40:14 -07:00
Sam Selikoff
2d7ffc16d6 Clarify section introducing callbacks 2014-08-10 16:47:06 -04:00
Sam Selikoff
37d7982057 Clarify section introducing props 2014-08-09 19:24:40 -04:00
Julien Bordellier
ccb9bd2ee2 Using the markdown's quote syntax and explaining why use include jQuery 2014-08-04 10:42:55 +02:00
Julien Bordellier
eb1e6ebf49 Adding a note just below the jQuery inclusion in the tutorial to inform that jQuery is not mandatory.
It's linked with #603
2014-08-02 11:32:31 +02:00
Ben Alpert
9ba8b98a5e tutorial: Fetch data in componentDidMount instead
In a world where this component was server-rendered, we wouldn't want to call the data-fetching code there so it makes more sense to have it in componentDidMount.
2014-07-10 22:33:09 -07:00
Cheng Lou
40181a0166 [Docs] Fix tutorial line highlights, revert ajax in cb 2014-06-30 01:01:48 -07:00
Cheng Lou
1c50b1dfbb [Docs] Put tutorial up-to-date with the code 2014-06-29 21:46:16 -07:00
Ben Alpert
2c02b6cac7 Fix tutorial to have exact translation of example
Fixes #903.
2014-05-28 10:29:34 -07:00
georgesisco
3ab1997f61 Update tutorial.md 2014-04-10 14:51:10 -04:00
George A Sisco III
bc9a92097e Carry ajax error checking from step #13 forward to other ajax steps
The following steps also have an ajax function, but the 'error:' param
is gone after #13:
#14
#17
#19
#20
This may be superfluous, but it helped me find an error with something I
was doing - Namely, in my .json file, I had single line javascript
comments ("//") that I copied from the tutorial. I couldn't find the
issue on later steps, but was able to see my issue when the error
handler complained about an unexpected "/" in my file in step #13.
2014-04-09 13:42:13 -04:00
petehunt
d9efc5aa57 Add thinking in react to the official docs 2014-03-03 10:37:33 -08:00
Ben Alpert
4ab7f4ab8d Tweak tutorial wording to be more accurate 2014-02-20 11:40:14 -08:00
Ben Alpert
9bc90ba05c Merge pull request #1034 from nadeeshacabral/patch-1
Fixed sample code fence highlight
2014-02-12 23:23:49 -08:00
Ben Alpert
36f250bf9c Merge pull request #1003 from rdworth/patch-1
Update tutorial.md to still have jQuery script tag in later code sample
2014-02-07 00:08:22 -08:00
Nadeesha Cabral
2ad7d1a0ef Fixed missing lighted line
The line number added had been changed from the previous representation of the code fence, but was not highlighted. Therefore, fixed.
2014-02-06 19:11:19 +05:30
Richard D. Worth
835abde4c1 Update tutorial.md to still have jQuery script tag in later code sample 2014-01-31 12:13:52 -06:00
Bob Eagan
b24d241b82 replace "comments.json" with this.props.url 2014-01-24 08:52:00 -07:00
Ben Alpert
4a7ec73d13 Add dataType to all $.ajax calls for consistency
Fixes https://groups.google.com/forum/#!topic/reactjs/WWA3ZqU6y4w.
2014-01-13 19:54:09 -08:00
Ben Alpert
64a5570c1c Move initial $.ajax out of getInitialState
We want to encourage people to make pure getInitialState functions.
2013-12-29 00:14:05 -07:00
Pete Hunt
d24fbf6d7b Merge pull request #733 from ivan/master
Use explicit $.ajax dataType and add error callback
2013-12-28 22:15:08 -08:00
Ivan Kozik
91a049a45e console.log -> console.error 2013-12-29 06:12:45 +00:00
Ivan Kozik
81f24d13e6 Add a warning about the @jsx declaration 2013-12-29 05:51:07 +00:00
Ivan Kozik
c72efb80c5 Use explicit $.ajax dataType and add error callback 2013-12-29 05:32:46 +00:00
Vjeux
8d938e4a32 Add a talks section to the docs 2013-12-24 07:20:42 +01:00
Cheng Lou
0767e7b9dd docs make all link start with /react/docs 2013-12-19 17:15:01 -05:00
Kit Randel
990e1e4142 Tutorial template markup needs a reference to jquery for the ajax calls
from step 13 onwards.
2013-12-18 15:13:45 +13:00
Brian Cooke
6d8496dd06 Update highlighted lines in tutorial
Minor issue, but I found it distracting that the highlighted lines were not accurate. I *believe* this fixes them up.
2013-12-09 15:16:37 -08:00