Commit Graph

117 Commits

Author SHA1 Message Date
Ivan Zotov
f4f8a82d1d Fix links and ids for tips in docs (#7766) 2016-09-19 17:50:26 +03:00
Ivan Zotov
9ee9ee342a Russian translation for style props value px of tips (#7742)
* Russian translation for style props value px of tips

* Update 06-style-props-value-px.ru-RU.md
2016-09-19 13:57:42 +03:00
Ivan Zotov
709040b3db Russian translation for max. numbers of jsx root nodes (#7738)
* Russian translation for max. numbers of jsx root nodes

* Update 05-maximum-number-of-jsx-root-nodes.ru-RU.md
2016-09-19 13:45:09 +03:00
Ivan Zotov
25dd602bf7 Russian translation for self-closing-tag of tips (#7729)
* Russian translation for self-closing-tag of tips

* Fix next link for inline styles tip

* Update 04-self-closing-tag.ru-RU.md
2016-09-19 13:39:46 +03:00
Ivan Zotov
bb2b70001f Russian translation if-else in JSX of tips (#7726) 2016-09-14 15:05:21 +03:00
Ivan Zotov
2dcc0fad70 Russian translation for inline styles of tips (#7717) 2016-09-14 13:26:36 +03:00
Ivan Zotov
7440d34f57 Fix Russian translation of introduction to be more technical (#7727) 2016-09-14 13:23:57 +03:00
Amanvir Sangha
65c9217610 Update OWASP link in docs for dangerous innerHTML (#7710) 2016-09-13 05:29:09 -07:00
Ivan Zotov
3330ad836a Add Russian translation for introduction of tips (#7690) 2016-09-13 13:36:16 +03:00
Ray Dai
114e7acee9 Update 14-communicate-between-components.ko-KR.md (#7686)
Apply the same change made in #7680.
2016-09-09 11:22:56 -07:00
Ray Dai
38aefe5d7b Update 14-communicate-between-components.md (#7680)
To demonstrate multiple arguments `bind(this, arg1, arg2, ...)`, also not to pass in for than what `handleClick` needed, namely props, or maybe even pass item itself, etc.
Going to change the kor file after review.
2016-09-08 10:20:25 -05:00
却痕
92c5e22268 docs:translate doc 11-advanced-performance to chinese (#7584) 2016-09-01 22:59:30 -04:00
Daniel Lo Nigro
d457201862 Upgrade to Jekyll 3
Full list of changes is at https://jekyllrb.com/docs/upgrading/2-to-3/. The tl;dr of it is:
 - Relative permalinks were removed, so all the files in the `docs` subdirectory need their permalink to be prefixed with `docs/`
 - `post` and `page` types were renamed to `posts` and `pages` respectively
 - `jekyll-paginate`, `pygments` and `redcarpet` are all now optional, so I needed to explicitly add it to the Gemfile. Jekyll now uses `rouge` rather than `pygments` for syntax highlighting, but rouge does not support highlighting individual lines (`hl_lines`) so we need to continue using Pygments.
 - Layout metadata (eg. `sectionid`) is now on a `layout` variable rather than `page`

Tested the following pages and confirmed that they all work:
 - "Docs" link (getting started page): http://127.0.0.1:4000/react/docs/getting-started.html
 - Downloads: http://127.0.0.1:4000/react/downloads.html
 - Tutorial: http://127.0.0.1:4000/react/docs/tutorial.html
 - A few pages under the "docs" subdirectory, to confirm they're working properly:
    - http://127.0.0.1:4000/react/docs/addons.html
 - http://127.0.0.1:4000/react/docs/why-react.html
 - http://127.0.0.1:4000/react/docs/create-fragment.html
 - A few tips:
    - http://127.0.0.1:4000/react/tips/false-in-jsx.html
 - http://127.0.0.1:4000/react/tips/style-props-value-px.html
 - Non-English versions of the page:
    - http://127.0.0.1:4000/react/docs/getting-started-it-IT.html
    - http://127.0.0.1:4000/react/docs/getting-started-ja-JP.html
2016-07-19 12:18:49 -07:00
Max
f31c84e765 Update documentation to stateless components
Ref #5949 @jimfb
2016-02-15 10:24:04 -08:00
Simen Bekkhus
3b4b99710f Fix example from #5870 to avoid double rendering 2016-01-17 23:25:29 +01:00
Simen Bekkhus
2f2f289815 Remove the recommendation to use isMounted from beginner docs 2016-01-17 20:53:20 +01:00
David Granado
3d9eb35931 Added additional detail to "props-in-getInitialState" anti-pattern doc
While seemingly self-explanatory, this clarifies the reasons props usage in getInitialState might be considered an antipattern.
2016-01-13 23:22:52 -06:00
Scott Feeney
2464d81705 [docs] remove unnecessary findDOMNode from example
This call is not needed anymore due to https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#dom-node-refs
2016-01-08 17:19:28 -08:00
Kale
cf5236600c Use null instead of '' in ternary expression
A blank string ('') resolves to <span></span> which produces a warning when place inside a <tr>
2015-11-23 06:38:08 -07:00
Arkist
814973f33a Update Korean translation to 84af306 2015-11-05 06:56:48 +09:00
Jim
33cd980f0e React -> ReactDOM for render() and findDOMNode() 2015-10-05 17:46:58 -07:00
Jim
2203a3322b Merge pull request #4964 from jimfb/stateless-functions-and-render-docs
Documentation for stateless functions/components, condensed two pages about refs into one
2015-09-30 20:59:29 -07:00
Jim
c426902fca Added documentation for stateless components, condensed the two pages about refs into a single page. 2015-09-30 18:54:19 -07:00
Paul O’Shannessy
a115c46689 [docs] Stop supporting our JSX compiler page
Link to Babel REPL directly instead.
2015-09-25 17:56:42 -07:00
Thomas Reggi
2cd9b8346b doc: typo existant to existent 2015-09-23 19:56:26 -04:00
Kohei TAKATA
76e4164916 Translate 01-introduction.md to Japanese 2015-08-13 21:27:00 +09:00
Marjan
25f72b9c2f Add stop-opacity to unitless style properties 2015-08-06 16:46:13 +02:00
Shim Won
aa5cca496d Update Korean translation to e88c7bf 2015-08-01 12:35:09 +09:00
Paul O’Shannessy
f88fbf2053 Merge pull request #3742 from mminer/order-css-vendor-prefixes
Treat boxOrdinalGroup and flexOrder as unitless
2015-07-28 16:44:14 -07:00
Vasiliy Loginevskiy
21610afd44 Docs: Fix jsx iife example 2015-07-23 06:08:11 +03:00
Shim Won
1f3e1360b2 Update Korean translation to e928c65 2015-07-22 08:11:26 +09:00
Paul O’Shannessy
cdc1042a4e Merge pull request #4144 from lukehorvat/docs/iife-jsx
Add IIFE example to JSX documentation
2015-07-13 14:01:51 -07:00
Masaki KOBAYASHI
1ddd6f1f64 Translate 04-self-closing-tag.md to Japanese 2015-07-13 12:38:24 +09:00
Luke Horvat
c6fe815d65 Add IIFE example to JSX documentation 2015-06-16 19:46:25 +10:00
Shim Won
8efc958a1e Update Korean transltaion to 4c778e2 2015-06-12 10:24:07 +09:00
Jim
d350c29c2f Fixed confusing use of the word/name in documentation 2015-06-10 02:48:48 -07:00
Thomas Röggla
21c8c2263e Replaced call to deprected .getDOMNode() with React.findDOMNode().
The code sample in tip 18 in the docs contained a call to the
.getDOMNode() method which has been deprecated. The method call was
replaced with a call to React.findDOMNode(), which is the preferred way
of getting DOM nodes from a ref.
2015-05-19 18:32:07 +02:00
Shim Won
8221e1f174 Update Korean Translation to 5275244 2015-05-16 21:49:04 +09:00
Ben Alpert
817c3c9390 Deprecate reactjs Google Group 2015-05-13 15:16:33 -07:00
Eric Eastwood
6fbc7ef48b Add support for unitless tabSize/tab-size 2015-05-07 13:51:15 -05:00
Matthew Miner
899bc9362f Treat boxOrdinalGroup and flexOrder as unitless. 2015-04-24 17:05:07 -07:00
Shim Won
26fed0c9df Update Translation to 0183f70 2015-04-24 09:15:46 +09:00
Jim
966cefe6ef Fix bad links in docs. Fixes #3654. 2015-04-22 13:17:39 -07:00
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).
2015-04-18 16:49:32 -07:00
Leonardo YongUk Kim
33eec6065f Create 19-dangerously-set-inner-html.ko-KR.md
Based on 2e1ccae2758e61ab86bc79bdcac0d61747065a4a
2015-04-17 17:15:51 +09:00
Paul O’Shannessy
8516b3b3f1 Merge pull request #3485 from jnu/ie10-flex-unitless
Treat flexPositive, flexNegative as unitless styles
2015-04-14 16:31:13 -07:00
Shim Won
1b394414a2 Update Korean translation to 0185c68 2015-04-10 06:54:28 +09:00
Leonardo YongUk Kim
52b3b5ed1b Translate tips 11 to Korean
1. Create 11-dom-event-listeners.ko-KR.md
2. Update 03-interactivity-and-dynamic-uis.ko-KR.md to add an anchor.

Based on 52494f9d723f4b2db12a0bf16a07b243076c15cf
2015-04-10 06:52:32 +09:00
Leonardo YongUk Kim
9aa14423c9 Create 12-initial-ajax.ko-KR.md
Based on 52494f9d723f4b2db12a0bf16a07b243076c15cf
2015-04-10 06:52:32 +09:00
Leonardo YongUk Kim
a5ef8ecd1e Create 13-false-in-jsx.ko-KR.md
Based on 52494f9d723f4b2db12a0bf16a07b243076c15cf
2015-04-10 06:52:31 +09:00