Dai Nguyen and Brandon Dail
d724aed404
Update tutorial.md ( #9051 )
2017-02-23 14:54:03 -06:00
Stephie and Dan Abramov
5cc2a4fe3e
Fixed typo: "Calcutor" to "Calculator" ( #9047 )
2017-02-22 17:37:55 +00:00
Dan Abramov and GitHub
51733c9a36
Add more details to the doc
2017-02-19 12:07:54 +00:00
Dan Abramov and GitHub
6d6211f526
Doc consistency tweaks
2017-02-19 11:58:42 +00:00
Roman Matusevich and Dan Abramov
d28264e689
Remove extra article from documentation ( #9028 )
2017-02-19 11:10:50 +00:00
DanZeuss and Dan Abramov
fc362bf095
Improved for a better understanding ( #8970 )
...
* Improved for a better understanding
that code shouldn't name this parameter onchange. It is so confusing for a starter of ReactJs like me. It looks like that the onChange is an common event from props.
* Update the lifting state up paragraph
I tried to write something to explain to starter programmers in react, how we lift the state up calling a method defined by the ancestor and called by the children that will affect the children element.
* Rewrite Lifting State Up
2017-02-19 02:21:05 +00:00
Dan Abramov and GitHub
7bdc189147
Revert "update react perf docs ( #8060 ) and ( #6174 )" ( #8997 )
2017-02-13 23:43:08 +00:00
Dan Abramov and GitHub
2464cd2d53
Update Thinking in React embed to match the link ( #8996 )
2017-02-13 23:25:47 +00:00
Sean Gransee and Brandon Dail
c16ec5df13
fix misspellings in comments and tests ( #8946 )
...
* fix misspellings in comments and tests
* revert change in docs/js/react-dom.js
2017-02-13 16:01:54 -06:00
Dan Abramov and GitHub
4a05f268c8
Revert "Fix createNodeMock doc to avoid Invariant Violation" ( #8990 )
2017-02-13 20:15:49 +00:00
BDav24 and Dan Abramov
00092957b6
Fix createNodeMock doc to avoid Invariant Violation ( #8989 )
2017-02-13 20:13:31 +00:00
Jiminikiz and Brian Vaughn
7958c1d77d
Fixing grammatical error ... ( #8987 )
...
... in the Create React App section.
2017-02-13 10:04:09 -08:00
Prayag Verma and Dan Abramov
c60f852cdb
Fix a typo in design principles doc ( #8985 )
...
unambigious → unambiguous
2017-02-13 15:09:00 +00:00
Moacir Rosa and Dan Abramov
de673bca8d
Only fix a small wrong key in example ( #8976 )
...
Only fix a small wrong key in example
2017-02-10 15:40:24 +00:00
Dhyey Thakore and Kevin Lacker
994a0c8b0c
update react perf docs ( #8060 ) and ( #6174 ) ( #8236 )
...
* update react perf docs issue 8060 and 6174
* Grammar
Small stuff
2017-02-07 14:00:08 -08:00
Andrew Clark and GitHub
b49611e643
Merge pull request #8927 from mitenka/patch-5
...
Update higher-order-components.md
2017-02-06 11:42:31 -08:00
KB and Dan Abramov
d42c285aa2
[docs] Add note about refs on stateless components ( #8916 )
...
* Add note about refs on stateless components
* Move info about refs in the stateless components to the main section
* Simplification of the part about refs and functional components
* Tweaks
* Move sections around
* Oops
* Rearrange more sections
2017-02-06 16:49:36 +00:00
Dmitry Zhuravlev-Nevsky and GitHub
1b69a79136
Update higher-order-components.md
2017-02-04 03:35:06 +03:00
Diego Muracciole and Dan Abramov
ad133f5b3d
Add onToggle event to details tag ( #8831 )
...
* Add onToggle event to details tag
Fixes #8761
* Map onToggle event on ReactDOMFiberComponent
* Tweak doc
* Trap events on setInitialProperties for details tag
2017-02-03 10:25:09 +00:00
Pontus Abrahamsson and Dan Abramov
55a18bca64
Update conferences.md ( #8915 )
...
* Update conferences.md
* Move confs around
2017-02-02 13:37:27 +00:00
Omid Hezaveh and Dan Abramov
79be3543dd
Explain arbitrariness of ref name in callback ( #8913 )
...
* Explain arbitrariness of ref name in callback
The sample code was confusing because it's not clear that "textInput" in this.textInput is an arbitrary name for the ref.
* Tweak wording
2017-02-02 13:33:12 +00:00
Dan Abramov and GitHub
9e3a31b2c6
Fix indentation in tutorial ( #8914 )
2017-02-02 13:24:26 +00:00
Eduard and Kevin Lacker
dc04ee87ae
Update tutorial.md ( #8896 )
...
* Update tutorial.md
The status <div> used in Board can be deleted as well from render.
* Little tweaks
2017-02-01 18:12:00 -08:00
Tiago Fernandez and Kevin Lacker
05f5bf6eb6
Link to CodePen editor rather than final result ( #8849 )
...
People want to see the final JS/CSS/HTML, and the final result is already displayed by CodePen.
2017-02-01 18:02:44 -08:00
Jeffrey Wan and Kevin Lacker
3f5482ee20
Update tutorial.md ( #8792 )
...
* Update tutorial.md
* Fix quoting to be consistent
2017-02-01 17:42:19 -08:00
John Longanecker and Kevin Lacker
b8f0522cc6
Lifting State Up more legible ( #8691 )
2017-02-01 17:31:01 -08:00
Vladimir Kovpak and Brandon Dail
8bc5a87d04
Added undefined example ( #8899 )
...
Into section `Booleans, Null, and Undefined Are Ignored` I've added example with undefined.
2017-01-31 07:24:29 -06:00
Senin Roman and Brandon Dail
466bb4ffb9
Fix incorrect markup for ie10 ( #8886 )
2017-01-30 18:32:07 -06:00
MICHAEL JACKSON and Dan Abramov
564fa64626
Update context example for react-router v4 beta ( #8889 )
...
* Update context example for react-router@4.0.0-beta.1
* Style nits
2017-01-30 17:36:47 +00:00
Mitchel Humpherys and Brandon Dail
39472f1c3e
installation.md: Add missing "as" ( #8871 )
2017-01-25 23:33:49 -06:00
Scott and Dan Abramov
4c6fec902f
Add benchmarking tutorial ( #8698 )
...
* Add benchmarking tutorial
I've written what I hope is the simplest introduction to benchmarking React components. It's meant to be straightforward and easy to follow for beginners. If you agree that it would be helpful, I'd like to add it to the docs.
Would also welcome any and all feedback.
* Just put links together
2017-01-25 15:14:18 +00:00
Oscar Bolmsten and Dan Abramov
c2f94385a1
webpack 2 is now stable ( #8859 )
...
Remove notice about different webpack versions
Update webpack URLs
2017-01-25 14:56:52 +00:00
Keyan Zhang and Dan Abramov
eb89bc4c30
Add a link to "State Updates are Merged" in the forms doc ( #8851 )
...
* Added a link to "State Updates are Merged"
* better inline links
* moved the explanation down
* Minor unrelated tweaks
2017-01-23 21:09:48 +01:00
mguidotto and Dan Abramov
b2b6d9daf7
Update conferences.md ( #8841 )
...
* Update conferences.md
* Update conferences.md
path fixed
* Changed capitalization to match the website and Twitter
2017-01-23 20:31:21 +01:00
Dan Abramov
beb2e0124d
Clarify use of ES6 idiom in Forms doc
2017-01-23 17:59:44 +00:00
Justin Grant and Dan Abramov
fc302494b7
Reminder: strip quotes from attributes with JS code ( #8806 )
...
* Reminder: strip quotes from attributes with JS code
Web developers who are used to standards-compliant HTML and XML will, out of habit, put quotes around all attributes because the standards require them. Other templating systems like ASP.NET also require (or at least allow) quotes around attributes that contain code. This behavior will get users into trouble in JSX because a quoted attribute is always treated as a string literal, even if it contains curly-braced javascript code. Let's add to the docs to help newbies evade this problem.
* Tweak wording
2017-01-23 18:09:35 +01:00
Ragnar Þór Valgeirsson and Dan Abramov
09b3ec5d3c
Match eslint's line length settings ( #8845 )
2017-01-23 17:47:48 +01:00
SunHuawei and Dan Abramov
5494b267d9
Fix a typo ( #8580 )
2017-01-23 17:43:48 +01:00
EugeneGarbuzov and Brandon Dail
30c7c4fbe6
Corrected a typo. ( #8837 )
...
shoud -> should
2017-01-20 13:25:21 -06:00
Keyan Zhang and Dan Abramov
06399b8ce3
Add "Handling Multiple Inputs" to Forms doc ( #8552 )
...
* added "Handling Multiple Inputs"
* renamed and added a codepen
* simplified the example
2017-01-17 22:19:46 -08:00
Rohan Nair and Dan Abramov
5d96162b57
Updating Thinking in React doc to replace refs with event handlers ( #8815 )
...
* Updating Thinking in React doc to replace refs
* Updating doc copy to reflect changes to example
2017-01-17 10:17:32 -08:00
Faheel Ahmad and Dan Abramov
c8a41672ed
I -> we ( #8817 )
2017-01-17 10:01:40 -08:00
DQNEO and Dan Abramov
6308238498
use an easier word ( #8809 )
...
* use an easier word
The word `mandatory` is relatively difficult for people with ESL (English as a second language), so I propose an alternative word.
This would be much easier to understand.
* use simpler word
2017-01-17 10:00:11 -08:00
Jack Cross and Dan Abramov
bfd5b1878e
Add Flow reminder to PR template ( #8805 )
...
* Added flow to PR template
* Added record-tests step to PR template and contribution docs
* Updated order of PR checks
2017-01-17 06:34:44 -08:00
Rich Harris and Dan Abramov
e69ff955f4
add docs for building with Rollup ( #8799 )
...
* add docs for building with Rollup
* Tiny unrelated fix
2017-01-17 05:55:49 -08:00
Superlaziness and Dan Abramov
66540fdf16
fix HOC doc ( #8802 )
2017-01-16 06:49:01 -08:00
Vladimir Tikunov and Brandon Dail
ebd83e809e
Remove error ref to the 'render' function ( #8781 )
...
What is the `render` function of a functional component?
2017-01-14 13:36:55 -06:00
Iurii Kucherov and Dan Abramov
20c4aac9ec
Update higher-order-components.md ( #8780 )
2017-01-13 13:17:48 -08:00
Whien and Dan Abramov
3ec1da800d
move blog post [Profiling Components with Chrome Timeline] into docs article ( #8680 )
...
* move blog post into docs article
* move to second section and changed description
* Minor tweak
2017-01-12 07:06:15 -08:00
Snowmanzzz(Zhengzhong Zhao) and Dan Abramov
2cb7637607
Update handling-events.md ( #8762 )
...
* Update handling-events.md
* Update handling-events.md
2017-01-12 06:30:43 -08:00