Commit Graph

223 Commits

Author SHA1 Message Date
Brian Vaughn
8c8a876995 Merge pull request #318 from iRoachie/typescript
docs(static type checking): Improved TypeScript docs
2017-11-21 12:45:59 -08:00
Kyle Roach
2439b55bf6 Copy changes 2017-11-21 15:53:39 -04:00
Dan Abramov
7d8abd8f13 Fix a code mistake 2017-11-21 14:29:15 +00:00
Raincal
7a069c4848 Update lifting-state-up.md (#319) 2017-11-21 12:05:52 +00:00
Kyle Roach
e993dc5a3a docs(static type checking): Improved TypeScript docs 2017-11-21 01:02:39 -04:00
Mike Wilcox
654c6b7df9 Update componentDidMount link (#316)
Currently when clicking this link, it tries to open link as `https://reactjs.org/https://reactjs.org/docs/react-component.html#mounting` and just spins.
2017-11-21 02:46:25 +00:00
Dan Abramov
d73bb5d287 Minor tweaks 2017-11-20 22:36:54 +00:00
Dan Abramov
c3b103dcb6 Minor fix 2017-11-20 22:18:07 +00:00
Dan Abramov
986d97788c Minor FAQ updates (#308)
* Don't use experimental syntax unless necessary

* Edit another page

* Update another page

* Unrelated bikeshed on virtual DOM

* Please, no *.jsx, we don't recommend it

* Update faq-structure.md

* Minor updates

* Update faq-ajax.md

* Update faq-functions.md

* Add binding explanation
2017-11-20 22:05:00 +00:00
Brian Vaughn
0ba8920310 Added some additional wording 2017-11-20 13:03:33 -08:00
Alex
78c285f86b Inline event.persist explanation 2017-11-20 11:27:54 -08:00
Alex
95c03c0fc8 Add links to event pooling docs 2017-11-20 11:17:58 -08:00
Alex
c17b54a121 Update debounce/throttle examples 2017-11-20 11:10:50 -08:00
Alex Krolick
44e5f6a1dd Add debounce and throttle examples for event handlers 2017-11-19 21:03:06 -08:00
Dan Abramov
de9276169c Update static-type-checking.md 2017-11-18 19:55:58 +00:00
Dan Abramov
9c4aa80173 Rewrite "Static Type Checking" (#303)
* Reorder Babel and CRA sections

* Rewrite

* Update static-type-checking.md

* Update static-type-checking.md

* Update static-type-checking.md

* Update static-type-checking.md

* Update static-type-checking.md
2017-11-18 19:42:03 +00:00
Maxime Mangel
dad20f2b83 Fix markdown to display a link 2017-11-17 23:23:29 +01:00
Brian Vaughn
1059ee164e Wordsmithing 2017-11-17 10:35:43 -08:00
Alfonso Garcia-Caro
ebf3b4641f Add a mention to other statically-typed languages
See #294
2017-11-17 19:18:23 +01:00
Brian Vaughn
383a7cbb83 Wordsmithing 2017-11-17 10:16:33 -08:00
Brian Vaughn
211963bfd4 Wordsmithing 2017-11-17 10:09:21 -08:00
ajcumine
ee6f7925aa move reconciliation index as keys examples from codepen into ./examples 2017-11-17 16:27:05 +00:00
ajcumine
ae716058c2 revert update to usage of index as key wording 2017-11-17 16:12:17 +00:00
ajcumine
6f0dfce69e fix link to reconciliation docs 2017-11-17 16:12:17 +00:00
ajcumine
485f1493be Added details and codepen examples for index usage as keys in lists 2017-11-17 16:12:17 +00:00
Steven Syrek
eef2864238 Add missing "the" and fix comma 2017-11-17 11:42:00 +01:00
Thomas Levy
1303a3d38c Fix setState example code
Seems to have been a mix of the two examples the section was covering.
2017-11-15 16:05:33 -08:00
Ben Mosher
985871c2e0 the most minor of cleanup
mostly wanted to nix that apostrophe in the Fiber description. combed through and made a few other stylistic changes
2017-11-15 17:05:27 -05:00
Dave Powers
ee516b8088 Add missing variable in AJAX FAQ example
- include "isLoaded" in destructuring assignment
2017-11-14 23:15:46 -05:00
Brian Vaughn
cd5ecff96d Wording tweak. 2017-11-14 08:48:01 -08:00
Brian Vaughn
db5012307c Tweaked content 2017-11-14 08:40:45 -08:00
Tran Van Sang
a3ceed01ea Update static-type-checking.md
The document did not specify where to edit `babel` config.

It is confused for beginner
2017-11-14 12:28:57 +09:00
Brian Vaughn
523abd84e7 Merge pull request #275 from darrenscerri/portal-mounting
Update Portal Example: Render Modal children when Modal is inserted in the DOM tree
2017-11-13 16:23:07 +00:00
Brian Vaughn
cc1fb09952 Merge pull request #43 from alexkrolick/add-faq
Add FAQ pages
2017-11-13 16:17:39 +00:00
Brian Vaughn
2b4b34ac0f Corrected my own typo :) 2017-11-13 08:16:58 -08:00
Brian Vaughn
996508d16f Formatted inline "Notes" 2017-11-13 08:11:22 -08:00
Brian Vaughn
c4faaf6ab6 Changed link style 2017-11-13 08:06:45 -08:00
Darren Scerri
f3fdc9b3b1 Add warning about Modal children mounting detached from DOM tree 2017-11-13 17:05:38 +01:00
Alex Krolick
21143853fc Clarify setState troubleshooting example 2017-11-12 20:06:44 -08:00
Alex Krolick
6d8c199203 Don't show raw URLs in links 2017-11-12 20:06:22 -08:00
Alex Krolick
d7beebb65a make sure param-passing example uses keys realistically 2017-11-12 20:05:27 -08:00
Alex Krolick
3a029d59e8 Add note about performance implications of .bind in render 2017-11-12 20:04:55 -08:00
Alex Krolick
3dbc6355e9 Add context to comment syntax example 2017-11-12 20:04:21 -08:00
Alex Krolick
b1d64dc8a2 Handle more states in async example code 2017-11-12 20:04:10 -08:00
Alex Krolick
bac965ed83 add example using data-attributes for event handler data 2017-11-12 19:25:43 -08:00
Alex Krolick
0143515ed5 fix typos 2017-11-12 19:25:43 -08:00
Alex
a904140005 add cancellation topic to AJAX FAQ 2017-11-12 19:25:43 -08:00
Alex
84c63dd29d add example component to AJAX FAQ 2017-11-12 19:25:43 -08:00
Alex Krolick
e9b132a280 Add FAQ pages 2017-11-12 19:25:43 -08:00
Dani Lewandowski
1dd43b2a53 Fixed an to a HOC 2017-11-12 20:54:14 -05:00