Commit Graph

117 Commits

Author SHA1 Message Date
Ivan Zotov
2ec2d8f7f7 Fix links and ids for tips in docs (#7766) 2016-09-19 17:50:26 +03:00
Ivan Zotov
4dd554c9b7 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
8176f4970c 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
7d5c70d98c 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
79367b09f7 Russian translation if-else in JSX of tips (#7726) 2016-09-14 15:05:21 +03:00
Ivan Zotov
fcc37ccaa2 Russian translation for inline styles of tips (#7717) 2016-09-14 13:26:36 +03:00
Ivan Zotov
7d76bdad69 Fix Russian translation of introduction to be more technical (#7727) 2016-09-14 13:23:57 +03:00
Amanvir Sangha
616e468987 Update OWASP link in docs for dangerous innerHTML (#7710) 2016-09-13 05:29:09 -07:00
Ivan Zotov
4dd44e77f8 Add Russian translation for introduction of tips (#7690) 2016-09-13 13:36:16 +03:00
Ray Dai
2fc7125d49 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
05cbc93401 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
却痕
4c365ea957 docs:translate doc 11-advanced-performance to chinese (#7584) 2016-09-01 22:59:30 -04:00
Daniel Lo Nigro
6d537e939f 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
ec41af0557 Update documentation to stateless components
Ref #5949 @jimfb
2016-02-15 10:24:04 -08:00
Simen Bekkhus
f5a9a26a43 Fix example from #5870 to avoid double rendering 2016-01-17 23:25:29 +01:00
Simen Bekkhus
1186cb9ab4 Remove the recommendation to use isMounted from beginner docs 2016-01-17 20:53:20 +01:00
David Granado
fb5cd2f7ae 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
0c6b909322 [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
b74e53c3ca 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
1c14477a47 Update Korean translation to 84af306 2015-11-05 06:56:48 +09:00
Jim
712199ef98 React -> ReactDOM for render() and findDOMNode() 2015-10-05 17:46:58 -07:00
Jim
6dbdea15b2 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
5ee8a93280 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
411ed31cb1 [docs] Stop supporting our JSX compiler page
Link to Babel REPL directly instead.
2015-09-25 17:56:42 -07:00
Thomas Reggi
648cb52b72 doc: typo existant to existent 2015-09-23 19:56:26 -04:00
Kohei TAKATA
edca54fb93 Translate 01-introduction.md to Japanese 2015-08-13 21:27:00 +09:00
Marjan
0d8c3f9cba Add stop-opacity to unitless style properties 2015-08-06 16:46:13 +02:00
Shim Won
28261783ed Update Korean translation to e88c7bf 2015-08-01 12:35:09 +09:00
Paul O’Shannessy
6eb5a15049 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
3ce58df87d Docs: Fix jsx iife example 2015-07-23 06:08:11 +03:00
Shim Won
dc56073d68 Update Korean translation to e928c65 2015-07-22 08:11:26 +09:00
Paul O’Shannessy
4d178415e8 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
3098a6f66e Translate 04-self-closing-tag.md to Japanese 2015-07-13 12:38:24 +09:00
Luke Horvat
9a2e5f2cc5 Add IIFE example to JSX documentation 2015-06-16 19:46:25 +10:00
Shim Won
e67c0943b8 Update Korean transltaion to 4c778e2 2015-06-12 10:24:07 +09:00
Jim
5446ef1c14 Fixed confusing use of the word/name in documentation 2015-06-10 02:48:48 -07:00
Thomas Röggla
210dc90c95 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
6f434b35ad Update Korean Translation to 5275244 2015-05-16 21:49:04 +09:00
Ben Alpert
ffabf4b5ff Deprecate reactjs Google Group 2015-05-13 15:16:33 -07:00
Eric Eastwood
60e1f5a103 Add support for unitless tabSize/tab-size 2015-05-07 13:51:15 -05:00
Matthew Miner
aa9274991d Treat boxOrdinalGroup and flexOrder as unitless. 2015-04-24 17:05:07 -07:00
Shim Won
8d0937e60d Update Translation to 0183f70 2015-04-24 09:15:46 +09:00
Jim
d900541021 Fix bad links in docs. Fixes #3654. 2015-04-22 13:17:39 -07:00
Reed Loden
3e8951e8c7 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
7e64c16ff6 Create 19-dangerously-set-inner-html.ko-KR.md
Based on 2e1ccae275
2015-04-17 17:15:51 +09:00
Paul O’Shannessy
41a6186d7a 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
57f14017fb Update Korean translation to 0185c68 2015-04-10 06:54:28 +09:00
Leonardo YongUk Kim
78f59da8df 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 52494f9d72
2015-04-10 06:52:32 +09:00
Leonardo YongUk Kim
792c161cc5 Create 12-initial-ajax.ko-KR.md
Based on 52494f9d72
2015-04-10 06:52:32 +09:00
Leonardo YongUk Kim
16832c701b Create 13-false-in-jsx.ko-KR.md
Based on 52494f9d72
2015-04-10 06:52:31 +09:00