Baraa Hamodi
a38a848170
Documentation cleanup.
9 years ago
Baraa Hamodi
bd6d713917
File Cleanup.
9 years ago
Matt Brookes
1525251178
Grammar
I'm assuming this was meant to say that the JSX spread syntax saves typing, not copying attributes.
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Jim
c426902fca
Added documentation for stateless components, condensed the two pages about refs into a single page.
9 years ago
Tsung Hung
04fac68f10
updated some typos, grammers, and made sentences sound better
10 years ago
Reed Loden
dd010b34e2
SSL/TLSize all the things! (convert http:// to https:// where appropriate)
Update links to use https:// where it is supported. There's probably a lot
more that could be fixed, but these are the core ones I found (especially
the download links in order to prevent MITM attacks). Note that there are
some fb.me links that will redirect to http:// even while accessed over
https://, but this seemed like the best way to fix those for now.
NOTE: Only non-third-party files were modified. There are references to
http:// URLs in vendored/third-party files, but seems appropriate to fix
upstream for those rather than editing the files.
Also, copy one image locally to the blog, as it was hotlinking to a site
that did not support https://.
Last, use youtube-nocookie.com instead of youtube.com for video embeds,
as the former doesn't try to set a cookie on load (privacy enhancement).
10 years ago
Gareth Nicholson
26d6df1d77
clarify sentence
10 years ago
iamdoron
e5a304ff1d
use 'forEach' instead of 'map' when clearing intervals
10 years ago
Alex Lopatin
3524427e54
Docs: Clarify that React.PropTypes.node accepts fragments
As of #3293 `ReactFragment` counts as a node, but this isn't made clear in the docs.
10 years ago
Julian Viereck
c72d79879c
Fix small typo
10 years ago
Ben Alpert
e60e8db043
with the exception for -> with the exception of
10 years ago
Sebastian Markbage
ea4dd85a7e
ES6 Class Docs
Some minor burried docs.
10 years ago
Raymond Ha
2f51451165
Update deprecated propTypes
10 years ago
Sebastian Markbage
4202fcd9c5
Replace transferPropsTo with transferring props patterns
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
Ben Foxall
f3fb21afc0
Less -> Fewer
bugs and bytes are countable, so should be fewer
10 years ago
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
11 years ago
Ben Alpert
bdcb265904
[docs] Add parens to defeat ASI in example
Fixes #1996 .
11 years ago
Mathieu M-Gosselin
7c277b1f8c
Added example of objectOf usage in documentation.
11 years ago
Dan Abramov
6b97ac8811
Apply component and mixins specs deterministically
Fixes #1589 .
11 years ago
Cheng Lou
ff6cb41f09
[Docs] new PropType behavior
(Killed the TODOs since they're no longer valid).
11 years ago
Felix Kling
bf4966f729
Update 05-reusable-components.md
`any` also seems to accept primitive values, not only objects. And since we already have `React.PropType.object`, the description was confusing.
11 years ago
Ben Alpert
0912eabca4
Tweak propTypes examples for clarity in oneOfType
11 years ago
Ben Alpert
a401800549
Add missing commas in propTypes docs
11 years ago
Ben Alpert
12a33fad6f
Add docs for new prop types
11 years ago
cpojer
5989a938d3
Add PropTypes.ArrayOf and clean up ReactPropTypes.js
11 years ago
Bob Eagan
c54d5a06f7
add hash link for lifecycle section of working with the browser page
11 years ago
Bob Eagan
c084776ff7
fix incorrect link
11 years ago
cpojer
808dea5c08
Update propTypes documentation.
11 years ago
cpojer
55d7adbc5b
Document PropTypes.renderable and PropTypes.component
11 years ago
Cheng Lou
0767e7b9dd
docs make all link start with /react/docs
11 years ago
Jamie Wong
84c0556123
s/pased/passed
12 years ago
Ben Alpert
37d37c6592
One-character typo fix
12 years ago
Paul O’Shannessy
076d8fc5a8
[docs] Prop validation + cleanup default props
12 years ago
Paul O’Shannessy
d124dd6440
[docs] Remove @benjamn's TODO for testing
12 years ago
Paul O’Shannessy
ba1db591d9
Write Default Props section
12 years ago
Paul O’Shannessy
8687f36982
Cleanup "Reusable Components"
12 years ago
Paul O’Shannessy
f2345ba2e2
Remove numbers from URLs.
This will let us keep docs in order on the filesystem but have
reasonable permalinks. If we add something at 02- it doesn't result in
lots of broken links.
12 years ago
Paul O’Shannessy
17ea30c8c5
Fix title casing and heading levels
12 years ago
petehunt
1263fde643
move docs around, add likebutton
12 years ago
petehunt
e874be922a
tweak the source
12 years ago
petehunt
988efdee73
Reorg docs, write a lot of content, import a lot of stuff from dex
12 years ago