Jim
7c20ccbc73
Document justification for dangerouslySetInnerHTML, fixes #2256
Conflicts:
docs/_data/nav_tips.yml
docs/tips/17-children-undefined.md
10 years ago
Cheng Lou
b8fafd1991
[Docs] Tip on integration with other libraries
Chose this title because it's more eye-catchy than "third-party integration".
10 years ago
Alexander Tseung
bcfbc87c84
Update 14-communicate-between-components.md
10 years ago
Alexander Tseung
f1c9861d90
Update 05-maximum-number-of-jsx-root-nodes.md
10 years ago
Paul O’Shannessy
dfd4e09c18
update docs for 0.12.2 changes
(cherry picked from commit e6e60c4fa848d1c9ce1349eff750cfa2faf156dc)
10 years ago
Kurt Ruppel
902199d29a
Fix typo in If/Else JSX doc.
10 years ago
Sebastian Markbage
4e203db794
More Descriptor -> Element renames
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
Sunny Juneja
8f5a2e564d
Add example to if else in JSX.
11 years ago
Dan Abramov
a7017f1c51
Warn when using hyphenated style property names
11 years ago
Tom Haggie
599ea5e51e
Updated the ajax to tip to also mention that you need to check
that the component is still mounted before updating it's state.
Closes #1600 .
11 years ago
Rajiv Tirumalareddy
ec19430f9a
Fixed incorrect usage of github api in example
more: https://developer.github.com/v3/gists/#detailed-gist-representation
11 years ago
Daniel Gasienica
75264470dd
Match `setTimeout` delay with documentation
11 years ago
Kunal Mehta
21e0ca5b8e
Remove erroneous line about static methods.
11 years ago
Kunal Mehta
80947848f2
Simplify comment.
11 years ago
Kunal Mehta
22a7de6aee
[docs] Amend "References to components" tip to mention descriptors.
11 years ago
Cheng Lou
5bc8b15d63
[Docs][Tips] Entry on this.props.children and tweak component ref entry
Component ref entry wasn't registered in nav_tips.
11 years ago
Cheng Lou
797fffca05
[Docs] Document newly added unitless css props in tips
11 years ago
petehunt
eaf234a53b
more references
11 years ago
Kunal Mehta
2ab43c462e
Add documentation about React.renderComponent
Recently learned that components passed into `React.renderComponent` may not be the ones actually mounted. Also learned that it returns the mounted component. Added some documentation describing this.
11 years ago
Cheng Lou
2fd497d2c5
docs tips fix small typo and code
11 years ago
Cheng Lou
7a794ae3cf
docs remove link to wiki page
Also some minor writing changes.
11 years ago
Cheng Lou
4002a86e22
docs tips small refactorings
11 years ago
Cheng Lou
f228f65f01
docs tips expose component function
11 years ago
petehunt
bd86c53822
Update parent/child communication tip
11 years ago
Cheng Lou
0767e7b9dd
docs make all link start with /react/docs
11 years ago
Jared Forsyth
ba50af55f7
one liner
11 years ago
Jared Forsyth
49ac69b05c
changes as requested
11 years ago
Jared Forsyth
cee420b12d
adding note about initializing state w/ props
11 years ago
Jared Forsyth
f3d5c90855
fixing capitalization
11 years ago
Jared Forsyth
256e0bf6df
rename this tip to be less confusing
Using props to initialize state is completely fine; the issue is using state as a "cache" for values calculated based off of props. This title makes it more clear.
11 years ago
Cheng Lou
dc4fcd52b3
docs tips parent-child communication
11 years ago
Sundeep Malladi
aef97f1d76
Minor spelling correction in docs
11 years ago
Ben Alpert
0f5fd4e076
autoBind -> Autobinding
We don't use the term autoBind anywhere any more.
11 years ago
Levi McCallum
4af4e04bb1
Add explination of autoBind to DOM Event Listener tip
11 years ago
Paul O’Shannessy
67c99a9c51
formatting and syntax on false in JSX tip
11 years ago
Paul O’Shannessy
59575acb4a
Update wording on AJAX tip
11 years ago
Paul O’Shannessy
5c8c2b6f7b
Fix broken link, spacing on events tip
11 years ago
Paul O’Shannessy
f95424a08a
s/Zuck/Rogers/
11 years ago
Paul O’Shannessy
55b5cfe075
Fix broken link on componentWillReceiveProps tip
11 years ago
Paul O’Shannessy
679397f60e
fix broken link on controlled input tip
11 years ago
Paul O’Shannessy
710f54b605
Children props tip tweak
11 years ago
Paul O’Shannessy
c98bb39b26
Fix broken link, formatting on px style tip
11 years ago
Paul O’Shannessy
efb8d5c6d5
Tweak for self closing tag tip
11 years ago
Paul O’Shannessy
9bde5abedc
Tweaks to if-else tip
11 years ago
Paul O’Shannessy
47d5b9c302
Small cleanup to style tips
11 years ago
Paul O’Shannessy
7f9c7c1f80
Small cleanup to tips intro
11 years ago
Connor McSheffrey
b8c7f3cdfd
Renamed Cookbook references to tips. Reworded intro (sounded weird because it still referenced cookbooks. Updated some entry ID's (some side nav links didn't match entry permalinks)
11 years ago