Ivan Zotov and Dan Abramov
2efc4ff54e
Fix links and ids for tips in docs ( #7766 )
2016-09-19 17:50:26 +03:00
Ivan Zotov and Dan Abramov
ac128c5ff9
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 and Dan Abramov
197eae99e8
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 and Dan Abramov
0ce8a42b3c
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 and Dan Abramov
c16c957811
Russian translation if-else in JSX of tips ( #7726 )
2016-09-14 15:05:21 +03:00
Ivan Zotov and Dan Abramov
5a78dd74ab
Russian translation for inline styles of tips ( #7717 )
2016-09-14 13:26:36 +03:00
Ivan Zotov and Dan Abramov
76985d7612
Fix Russian translation of introduction to be more technical ( #7727 )
2016-09-14 13:23:57 +03:00
Amanvir Sangha and Jim
f3be4c18dc
Update OWASP link in docs for dangerous innerHTML ( #7710 )
2016-09-13 05:29:09 -07:00
Ivan Zotov and Dan Abramov
973f49eaad
Add Russian translation for introduction of tips ( #7690 )
2016-09-13 13:36:16 +03:00
Ray Dai and Paul O’Shannessy
5a48d72096
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 and Brandon Dail
de5a7587b3
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
却痕 and Keyan Zhang
9c9d856630
docs:translate doc 11-advanced-performance to chinese ( #7584 )
2016-09-01 22:59:30 -04:00
Daniel Lo Nigro and Paul O’Shannessy
197450f6b7
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
41a50e9cbe
Update documentation to stateless components
...
Ref #5949 @jimfb
2016-02-15 10:24:04 -08:00
Simen Bekkhus
e824be5b5a
Fix example from #5870 to avoid double rendering
2016-01-17 23:25:29 +01:00
Simen Bekkhus
ff073550c9
Remove the recommendation to use isMounted from beginner docs
2016-01-17 20:53:20 +01:00
David Granado
392907393b
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
331214e749
[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
5b6bc04cbe
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 and Shim Won
271d3a1b7f
Update Korean translation to 74b7584
2015-11-05 06:56:48 +09:00
Jim
598682f06e
React -> ReactDOM for render() and findDOMNode()
2015-10-05 17:46:58 -07:00
Jim
18a3198892
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
3e3dceda0a
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
f99d96e139
[docs] Stop supporting our JSX compiler page
...
Link to Babel REPL directly instead.
2015-09-25 17:56:42 -07:00
Thomas Reggi
dfceba074d
doc: typo existant to existent
2015-09-23 19:56:26 -04:00
Kohei TAKATA
497274ff2e
Translate 01-introduction.md to Japanese
2015-08-13 21:27:00 +09:00
Marjan
0b1b74ab1a
Add stop-opacity to unitless style properties
2015-08-06 16:46:13 +02:00
Shim Won
c7f8000dc9
Update Korean translation to 5c8a3ba
2015-08-01 12:35:09 +09:00
Paul O’Shannessy
2f5bca7971
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
e34aea2cb5
Docs: Fix jsx iife example
2015-07-23 06:08:11 +03:00
Shim Won
dd7cc75391
Update Korean translation to 36b5778
2015-07-22 08:11:26 +09:00
Paul O’Shannessy
3f79bea3a3
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
1b3f56eb1c
Translate 04-self-closing-tag.md to Japanese
2015-07-13 12:38:24 +09:00
Luke Horvat
08d730bc13
Add IIFE example to JSX documentation
2015-06-16 19:46:25 +10:00
Shim Won
7fa0790dc1
Update Korean transltaion to 19b0f68
2015-06-12 10:24:07 +09:00
Jim
29ff9ddd9e
Fixed confusing use of the word/name in documentation
2015-06-10 02:48:48 -07:00
Thomas Röggla
1aafe8f550
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
cde415d6bf
Update Korean Translation to b7f0fe1
2015-05-16 21:49:04 +09:00
Ben Alpert
5b13399522
Deprecate reactjs Google Group
2015-05-13 15:16:33 -07:00
Eric Eastwood
2c91882e1f
Add support for unitless tabSize/tab-size
2015-05-07 13:51:15 -05:00
Matthew Miner
51cbcf6393
Treat boxOrdinalGroup and flexOrder as unitless.
2015-04-24 17:05:07 -07:00
Shim Won
0d139af204
Update Translation to 3acb100
2015-04-24 09:15:46 +09:00
Jim
6d4022e2b7
Fix bad links in docs. Fixes #3654 .
2015-04-22 13:17:39 -07:00
Reed Loden
0ea3f80728
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 and Shim Won
1ec41a691f
Create 19-dangerously-set-inner-html.ko-KR.md
...
Based on 191c866230
2015-04-17 17:15:51 +09:00
Paul O’Shannessy
9d42dfc736
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
64e3a045b7
Update Korean translation to 8b81de3
2015-04-10 06:54:28 +09:00
Leonardo YongUk Kim and Shim Won
236d356157
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 221ae111f4
2015-04-10 06:52:32 +09:00
Leonardo YongUk Kim and Shim Won
98c650eb30
Create 12-initial-ajax.ko-KR.md
...
Based on 221ae111f4
2015-04-10 06:52:32 +09:00
Leonardo YongUk Kim and Shim Won
720832a980
Create 13-false-in-jsx.ko-KR.md
...
Based on 221ae111f4
2015-04-10 06:52:31 +09:00