Elaine Fang
eda277665d
Add punctuation
10 years ago
Shota Kubota
18f4a5220e
Fix differences a jQuery CDN URLs, fixes #3750 .
unify to `https://code.jquery.com/jquery-2.1.3.min.js `.
10 years ago
Jon Scott Clark
3a2fa5cf08
Fix line highlighting in code blocks due to addition of extra example code
10 years ago
Adam Zapletal
536681aa5d
Fix missing line highlight in tutorial
10 years ago
Jon Scott Clark
aaf3fc4e87
Add 'cache: false' to $.ajax when fetching comments
10 years ago
Ben Alpert
fdd13d86f2
[docs] Use marked instead of Showdown and escape HTML
Fixes #3501 .
10 years ago
Russ
4bf2aa8135
Update tutorial.md
Grammar fix
10 years ago
Andreas Savvides
7ebde90c1f
Include latest version of jQuery in tutorial
Include latest version of jQuery 2.x in tutorial
10 years ago
AoDev
ce206adc87
Add a note about react classe name convention
I lost quite some time trying to figure out what was happening. No error in console and nothing showing up.
10 years ago
Jim
7114950cd1
Updated docs examples/recommendations to use findDOMNode instead of getDOMNode
10 years ago
brafdlog
203b7fa42d
There was a redundant word in the sentence
10 years ago
Daniel Mané
9e77ef78a4
Add mention of go and php server implementations in React tutorial
10 years ago
Alan deLevie
a69a581441
Make tutorial CDN URLs use https
10 years ago
Preston Parry
809c13e552
Update tutorial.md
10 years ago
juan serrano
74f7616a0a
Corrected documentation
10 years ago
Héliton Nordt
711becb883
Fix highlighting
10 years ago
Héliton Nordt
0f27514cef
Removing unnecessary returns
10 years ago
Rafael
c3c9103538
remove extraneous comma in tutorial
10 years ago
Preston Parry
302fd73793
Update tutorial.md
10 years ago
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.
10 years ago
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.
10 years ago
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."
10 years ago
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.
10 years ago
John Heroy
35e1db2bac
Add comma for readability in tutorial
10 years ago
Paul O’Shannessy
febd05b900
Update React.DOM -> React.createElement through docs
10 years ago
Ben Alpert
fb46ad0356
Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
10 years ago
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
10 years ago
Beau Smith
43e1e16e6f
Highlighted changed lines in examples
10 years ago
Simon Welsh
54e88388b1
Correct highlighted block
10 years ago
jon madison
2d6231f486
corrected highlighted/updated line in tutorial example
11 years ago
Michael Randers-Pehrson
83cf623476
Adding `e.preventDefault()` to `handleSubmit`,
Also added plain `return`, updated text.
11 years ago
Michael Randers-Pehrson
65874732b0
Including missing validation check
The validation check was removed from the update to the CommentForm handleSubmit function.
11 years ago
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
11 years ago
Sam Selikoff
2d7ffc16d6
Clarify section introducing callbacks
11 years ago
Sam Selikoff
37d7982057
Clarify section introducing `props`
11 years ago
Julien Bordellier
ccb9bd2ee2
Using the markdown's quote syntax and explaining why use include jQuery
11 years ago
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
11 years ago
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.
11 years ago
Cheng Lou
40181a0166
[Docs] Fix tutorial line highlights, revert ajax in cb
11 years ago
Cheng Lou
1c50b1dfbb
[Docs] Put tutorial up-to-date with the code
11 years ago
Ben Alpert
2c02b6cac7
Fix tutorial to have exact translation of example
Fixes #903 .
11 years ago
georgesisco
3ab1997f61
Update tutorial.md
11 years ago
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 .
11 years ago
petehunt
d9efc5aa57
Add thinking in react to the official docs
11 years ago
Ben Alpert
4ab7f4ab8d
Tweak tutorial wording to be more accurate
11 years ago
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.
11 years ago
Richard D. Worth
835abde4c1
Update tutorial.md to still have jQuery script tag in later code sample
11 years ago
Bob Eagan
b24d241b82
replace "comments.json" with this.props.url
11 years ago
Ben Alpert
4a7ec73d13
Add dataType to all $.ajax calls for consistency
Fixes https://groups.google.com/forum/#!topic/reactjs/WWA3ZqU6y4w .
11 years ago
Ben Alpert
64a5570c1c
Move initial $.ajax out of getInitialState
We want to encourage people to make pure getInitialState functions.
11 years ago