Commit Graph

1597 Commits

Author SHA1 Message Date
Steven Luscher 9ca4dd6024 Pre-fill tag when asking a Stack Overflow question 2015-09-09 11:28:14 -07:00
Paul O’Shannessy 77703dbb80 Merge pull request #4724 from AnSavvides/test-util-readability
Make definitions more readable & optional params more obvious
2015-09-09 00:02:18 -07:00
Edvin Erikson a3b0b7ca25 [docs] Updated SVG attributes
Added all properties listed in the SVGDOMPropertyConfig.js file to the SVG attributes
section in the docs.
2015-09-04 18:26:47 +02:00
Jon Tewksbury f445dd91b0 Update docs to match standard HTML attribute support 2015-09-03 22:59:29 -07:00
matchu 6541903bc4 avoid the phrase "key property"
React components can be assigned a special property named `key`. Therefore, it's helpful to avoid the phrase "key property" unless you're talking about the `key` property :)

I'm not sold on the replacement phrase, though... I think it's solid, but two fancy words like "fundamental" and "invariant" next to each other just seem a bit unwelcoming xP then again, we're talking about some heavy technical stuff; if there aren't any lighter words that are equally precise, then these should probably stand.
2015-09-03 12:03:15 -07:00
Ben Alpert f5bd8fc0ad New devtools blog post 2015-09-02 12:34:10 -07:00
Henrik Nyh 01151c1dea docs: "also lets pass" -> "also lets you pass" 2015-08-30 10:19:34 +02:00
Andreas Savvides 807c62851c Make definitions more readable & optional params more obvious 2015-08-27 16:32:07 +01:00
Ben Alpert d4f38933f2 Merge pull request #4703 from spicyj/rarr
Clarify use of arrow functions
2015-08-25 11:38:13 -07:00
Ben Alpert 66881ae083 Fix formatting in test utils docs 2015-08-25 09:47:38 -07:00
Ben Alpert d15938cd92 Clarify use of arrow functions
Per https://github.com/facebook/react/commit/1db20999f0336cfacc6af5ee6f5a77803d74381b#commitcomment-12865588.
2015-08-24 17:21:10 -07:00
Paul O’Shannessy 27e5a563db Merge pull request #4684 from lyip1992/patch-3
Update 10.1-animation.md
2015-08-22 16:10:05 -07:00
Paul O’Shannessy d5e5261e38 Merge pull request #4686 from lyip1992/patch-5
Update 06-transferring-props.md
2015-08-22 16:09:02 -07:00
Paul O’Shannessy 7dbcff2df4 Merge pull request #4687 from lyip1992/patch-6
Update 04-multiple-components.md
2015-08-22 16:08:27 -07:00
Paul O’Shannessy cca1065183 Merge pull request #4688 from lyip1992/patch-7
Update 02.3-jsx-gotchas.md
2015-08-22 16:08:02 -07:00
Leon Yip 71454365f2 Update 02.3-jsx-gotchas.md
Fix typo.
2015-08-22 00:57:51 -07:00
Leon Yip 2f4ea60571 Update 04-multiple-components.md
Added an extra word to make the sentence read a little easier.
2015-08-22 00:56:23 -07:00
Leon Yip f8fe717ea2 Update 06-transferring-props.md
"This ensures that" sounds a better than "That ensures that." This change is just my personal opinion, so I totally understand my change doesn't get merged.
2015-08-22 00:51:38 -07:00
Leon Yip 3849710d8b Update 08.1-more-about-refs.md
Change render to `render()` for consistency within the paragraph.
2015-08-22 00:46:18 -07:00
Leon Yip c0e21d1b85 Update 10.1-animation.md
Changed "if" to "even when" for clarity.
2015-08-22 00:42:25 -07:00
Ning Xia b629289cea Fix repetition by editing second sentence
edited based on paul's input
2015-08-21 16:33:20 -07:00
Ning Xia 5ba1831d76 Remove redundancy regarding 'latest React news'
Previously, it repeated 'latest React news' when the first sentence already begins with the same words.
2015-08-21 13:00:24 -07:00
Espen Hovlandsdal 75805e4835 Allow results and autosave attributes (WebKit/Blink) 2015-08-21 10:10:32 +02:00
Ben Alpert 61962c1751 Capitalize Babel 2015-08-20 13:34:04 -07:00
Kyle Kelley 009902bcd0 Update tooling docs to suggest babel
`react-tools` is deprecated, `babel` is our future

* https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html
* https://babeljs.io/docs/usage/jsx/
2015-08-20 14:24:20 -05:00
Daniel Rodgers-Pryor 6bd6ef208b ReactCSSTransitionGroup timeouts
As discussed in issue 1326
(https://github.com/facebook/react/issues/1326) transitionend events are
unreliable; they may not fire because the element is no longer painted,
the browser tab is no longer focused or for a range of other reasons.
This is particularly harmful during leave transitions since the leaving
element will be permanently stuck in the DOM (and possibly visible).

The ReactCSSTransitionGroup now requires timeouts to be passed in
explicitly for each type of animation. Omitting the timeout duration
for a transition now triggers a PropTypes warning with a link to the
updated documentation.
2015-08-20 11:38:27 +10:00
Ben Alpert 3de7a281de Merge pull request #4664 from spicyj/ref-docs
Spruce up refs docs
2015-08-19 16:34:44 -07:00
Ben Alpert 1db20999f0 Spruce up refs docs
Fixes #4651.
2015-08-19 16:14:35 -07:00
Tyler Brock 1e10bb5923 Clarify invocation order of componentDidMount
OP is delivering on promise made here: https://discuss.reactjs.org/t/how-do-you-invoke-the-render-callback-in-jsx/1744
2015-08-19 10:04:34 -07:00
Levi Buzolic 009f766d6e Update Advanced Performance code examples so they would output values
Noticed the code examples in *Advanced Performance* wouldn't be rendering the example props, this could lead to some minor confusion for new users.
2015-08-19 13:50:43 +10:00
Paul O’Shannessy b4ee5b5bf1 Merge pull request #4451 from dmatteo/TestUtils.Simulate-docs
improve ReactTestUtils.Simulate documentation
2015-08-17 14:51:05 -07:00
Jim d984b687ec Merge pull request #4634 from edvinerikson/event-pooling
Added documentation about pooled events
2015-08-17 14:33:33 -07:00
Mikolaj Dadela 75fafe1c0b Updated the Performance tools doc page.
Now it’s possible to read the page from top to the bottom without
asking oneself “Ok, but how do I get these measurements?”
2015-08-17 11:18:04 +02:00
Edvin Erikson 6793a7197e Updated event pooling note in docs 2015-08-15 21:47:59 +02:00
Edvin Erikson 1e3c3e1b6b Added documentation about pooled events 2015-08-15 17:03:21 +02:00
Jim 534e277c10 Merge pull request #4627 from tako-black/translate_top-level-api_to_japanese
Translate ref-01-top-level-api.md to Japanese
2015-08-14 05:14:53 -07:00
Kohei TAKATA ae38ea9275 Translate ref-01-top-level-api.md to Japanese 2015-08-14 19:16:59 +09:00
Paul O’Shannessy 6708059b51 Merge pull request #4607 from hekar/add/html-table-summary-attr
Added support for more HTML attributes: `summary`
2015-08-13 21:28:50 -07:00
Hekar Khani be1fc794f0 Added support for more HTML attributes: summary
This attribute is used on <table> to support screen readers.
It is deprecated, so take a look at <caption> instead.
2015-08-13 22:41:37 -05:00
Matthew Johnston 0b07fed32c ReactEurope roundup blog post 2015-08-13 17:14:17 -07:00
Paul O’Shannessy 6c84a57a2d Merge pull request #4610 from lili21/fix-component-api-doc
update component api docs
2015-08-13 13:08:28 -07:00
MIKAMI Yoshiyuki 47ce8ecacb Fix Markdown conversion with marked 2015-08-14 01:07:19 +09:00
Kohei TAKATA edca54fb93 Translate 01-introduction.md to Japanese 2015-08-13 21:27:00 +09:00
li.li f027ca8ca0 update component api docs 2015-08-13 15:34:21 +08:00
Paul O’Shannessy 530a30c1d5 Fix grammar in Relay blog post
Brings in #4617 properly
2015-08-12 12:09:24 -07:00
Jared Forsyth 3ed9581adb update devtools post to note beta 2 2015-08-12 11:29:41 -07:00
Jim d7b59de1c3 Merge pull request #4613 from tako-black/translate_advanced-performance_to_japanese
Translate 11-advanced-performance.md to Japanese
2015-08-12 07:39:03 -07:00
Kohei TAKATA 239eb0fc23 Translate 11-advanced-performance.md to Japanese 2015-08-12 19:40:30 +09:00
Joseph Savona aa55a71c62 Relay Technical Preview - blog post
(cherry picked from commit cac6bc870d)
2015-08-11 12:46:37 -07:00
Kohei TAKATA 1ceded865b Change tutorial.ja-JP.md to use marked 2015-08-11 22:54:36 +09:00