Commit Graph

2380 Commits

Author SHA1 Message Date
Dan Abramov d40487539a Link to React 16 beta 2017-07-26 21:20:33 +01:00
Dan Abramov b7dd6d4e25 Blog post: Error Handling in React 16 (#10267)
* Blog post: Error Handling in React 16

* Change the date
2017-07-26 21:20:29 +01:00
Dan Abramov 6d40e0c3e0 Tweak deprecation messages to be less scary (#10145)
(cherry picked from commit 2e2f503cb8)
2017-07-11 14:06:11 +01:00
Nick Kasten 8057c0a784 Updated Immutable Data Stuctures Docs (#9845)
* updated immutable data structures section

* improved immutable clarifications

* changes to example immutable code

(cherry picked from commit 8f4d30737d)
2017-07-11 14:06:11 +01:00
Ilya Gelman c0633b37a2 Add ReactNext 2017 to conference list (#10114)
(cherry picked from commit b22387d4fe)
2017-07-11 14:06:10 +01:00
Andrew Rota 14e6e2cd94 Add React Boston 2017 to upcoming conferences (#10099)
(cherry picked from commit a39858f399)
2017-07-11 14:06:10 +01:00
Guilherme Ruiz 6a057a0a5c Fix the data-height of Step 5 CodePen embed (#10083)
(cherry picked from commit 83f56370e6)
2017-07-11 14:06:10 +01:00
Kiho · Cham 141179a24e doc: fix the order of lint and prettier (#10095)
(cherry picked from commit 03db57aa71)
2017-07-11 14:06:09 +01:00
Almero Steyn c218cab34d docs(a11y): Small fixes (#10079)
(cherry picked from commit 79868a978d)
2017-07-11 14:06:09 +01:00
Henry Harris 5686ab15d6 Tiny changes to tutorial (#10048)
* Initial commit

* PR feedback
2017-06-29 16:00:48 +01:00
Almero Steyn d339eafa10 [Docs: A11y] Add accessibility docs (#9519)
* [Docs: A11y] Add accessibility docs

* Fix the link

* Replace link image

* Tweak style
2017-06-26 18:18:50 +01:00
newvlad 1be7cca598 Create higher-order-components.md (#9976) 2017-06-26 18:18:39 +01:00
Sasha Aickin 61dedda93e As pointed out by @gaearon in code review comment https://github.com/facebook/react/pull/10024#discussion_r123649131 , ReactDOMServer is an object, not a class. (#10027) 2017-06-26 18:18:19 +01:00
Dan Abramov f4fe34d0e7 Bump docs to 15.6.1 2017-06-15 15:32:39 +01:00
Dan Abramov 461a5a2529 Add addon changes to 15.6.0 changelog (#9958)
* Add addon changes to 15.6.0 changelog

* Oops

* Add to blogpost
2017-06-14 14:03:52 +01:00
Dan Abramov 24e698a93b Reword animation documentation deprecation (#9957) 2017-06-14 14:01:46 +01:00
Flarnie Marchan c1fe2549c8 Blog post for 15.6.0 (#9950)
* Blog post for 15.6.0

**what is the change?:**
A short and sweet summary of 15.6.0 changes

**why make this change?:**
To thank community contributors and call out important changes.

**test plan:**
Visual inspection.
I also looked it over in a markdown viewer - http://dillinger.io/

**issue:**
https://github.com/facebook/react/issues/9398

* Add 'Installation' and 'Changelog' to 15.6.0 blog post

**what is the change?:**
Added the 'Installation' section we have on most release blog posts,
customized for the 15.6.0 version of React.
Added the 'Changelog' from master to the blog post.

**why make this change?:**
To show folks how to install React and what changes are in this release.

**test plan:**
Visual inspection

**issue:**
https://github.com/facebook/react/issues/9398

* Improvements to blog post, and add self to `authors.yml`

**what is the change?:**
- Add self to contributors so my name turns into a link
- Use backticks for code-ish things
- Second header to ##, not #
- Change production mode link to the new address per @bvaughn's comment
- Update changelog with fixes from https://github.com/facebook/react/pull/9951

**why make this change?:**
Make things more clear and accurate.

**test plan:**
Visual inspect - @flarnie will paste an image of how it appears in the
actual docs.

**issue:**
https://github.com/facebook/react/issues/9398

* Further improvements to 15.6 blog post

**what is the change?:**
- Reword heading about deprecation warning changes
- add 'br' s to the list of installation options
- add some stray missing backticks

**why make this change?:**
Clarity and readability

**test plan:**
Visual inspection

**issue:**
https://github.com/facebook/react/issues/9398
2017-06-13 15:59:54 -07:00
Dan Abramov 66b42830e0 Fix doc styling and formatting issues 2017-06-12 16:33:42 -07:00
Danilo Vitoriano c62675cda4 Move Past Confs, add React Conf Brazil 2017 (#9697)
* move past confs, add React Conf Brazil 2017

* move react europe to past confs

* resolve react europe conflicts

* Create conferences.md
2017-06-12 16:33:42 -07:00
Mario Souto f931ad7d25 Remove extra brace (#9910) 2017-06-12 16:33:42 -07:00
Victoria Quirante 152d94d898 Adding React Alicante 2017 to upcoming conferences (#9897) 2017-06-12 16:33:42 -07:00
Kurt Furbush debf4f85e6 Update reference-react-component.md (#9863)
Grammatical edit to match same statement in state-and-lifecycle.html
2017-06-12 16:33:42 -07:00
Garmash Nikolay 6bef36d9fa Fix url to ng-animate (#9859) 2017-06-12 16:33:41 -07:00
Fernando Montoya a5e0067358 Update webpack according to brand guidelines (#9595)
* Update webpack according to brand guidelines

* Change all ocurrences to webpack
2017-06-12 16:33:41 -07:00
Ricardo b0777a695a Insert blockquote on prop value explanation. (#9770)
While reading the page, the "chain of thought" is broken by stating that the `tempertature` and `onTemperatureChange` don't have any special meaning. Making this a blockquote makes that note look more like a comment and keep the "chain of thought" intact.
2017-06-12 16:33:41 -07:00
cjshawMIT eec984d80d Clarifying how to apply aria-* attributes (#9843)
Provide explicit example of what "keep lowercase" means for `aria-*` attributes.
2017-06-12 16:33:41 -07:00
Lipis b77fd87b52 Rename Javascript to JavaScript (#9796) 2017-06-12 16:33:41 -07:00
Lipis 4def415fb5 Rename Github to GitHub (#9797)
(cherry picked from commit 07d229b28e)
2017-06-12 16:33:41 -07:00
Erik Hellman 81d1519ebb Add Videos link to React Europe 2017 (#9751)
(cherry picked from commit d30bc9807e)
2017-06-12 16:33:41 -07:00
Flarnie Marchan 9d60d38abe Add 'Test Utils' docs back to main navigation (#9676)
* Add 'Test Utils' docs back to main navigation

**why make this change?:**
We accidentally removed this - still supporting the use of Test Utilities, so we should have them in the docs.

**test plan:**
Manually tested the website - will insert a screenshot.

**issue:**
https://github.com/facebook/react/issues/9651

* Move test-utils docs to reference section

**what is the change?:**
Moved from 'advanced guides' to 'reference'

**why make this change?:**
It makes more sense as a reference

**test plan:**
Visual inspection (flarnie may add a screenshot)

**issue:**

* Add back the shallow renderer docs and remove outdated docs

**what is the change?:**
- Remove outdated 'shallow renderer' docs on 'test utils' page, and point to the updated 'shallow renderer' docs.
- Re-add a link to the updated 'shallow renderer' docs on the main navigation.

**why make this change?:**
This was already approved in https://github.com/facebook/react/pull/9331 which was then cherry-picked to https://github.com/facebook/react/pull/9359/commits and landed on master.

I'm not sure why some of these changes didn't persist. For now just adding back the changes we need.

**test plan:**
Manually inspected website - will insert screenshots.

**issue:**

* Further improvements to 'shallow rendering' and 'test utils' docs

Thanks @gaearon for the improvements!

**what is the change?:**
- Remove <hr/> from end of 'shallow rendering' docs
- 'documents' -> 'documentation'
- Move 'shallow rendering' redirection section to top of 'test utils' docs
- Add intro sentence about testing to 'shallow rendering' docs

**why make this change?:**
Documentation helps people learn.

**test plan:**
Visual inspection

(cherry picked from commit 114b9c5500)
2017-06-12 16:33:41 -07:00
Will Myers f60f5fe77b Update blog post which creates unhandled promise rejection (#9668)
* Update 2015-12-16-ismounted-antipattern.md

In case anybody else stumbles across this old blog post, I wanted to submit a patch to help with unhandled rejections.

`#then` and `#catch` each return new Promise instances, so here we actually create two new promises (that aren't assigned).  If the argument promise to `#makeCancelable` rejects, the promise created by `#then` will be an unhandled rejection, which in Node 7 will be an uncaught error.

By using the second argument of `#then` to handle rejections instead, we don't need to worry about the runtime finding any unhandled rejections here.

* Style updates

* Add update notice

(cherry picked from commit 546e7721ec)
2017-06-12 16:33:41 -07:00
Max Donchenko 88815d6eeb Fix typo (#9786)
(cherry picked from commit 43f2ea079c)
2017-06-12 16:33:41 -07:00
Danny Hurlburt 1a663a4a3f Bind handleChange Instead of Calling (#9764)
(cherry picked from commit 1f667fd37f)
2017-06-12 16:33:41 -07:00
Samuel Hapák db6c10c1e3 Add ReactiveConf (#9723)
(cherry picked from commit 1f80931d32)
2017-06-12 16:33:41 -07:00
Erik Hellman 018189a3e7 Move ReactEurope 2017 from Upcoming Conferences to Past Conferences (#9726)
(cherry picked from commit 5b7e81579d)
2017-06-12 16:33:41 -07:00
Hikaru Suido 74861dd9b0 Move previous events to the end (#9729)
(cherry picked from commit 3d6d641a8c)
2017-06-12 16:33:41 -07:00
Dave Lunny 80252af027 "Timeline" => "Performance" (#9602)
As of Chrome 58, the Timeline tab is now called the Performance tab, this updates the "Optimizing Performance > Profiling Components with Chrome Performance" section of the docs to reflect that.
(cherry picked from commit 5cf571839e)
2017-06-12 16:33:41 -07:00
shifengchen 9a2ddbddc9 Edit two errors in docs (#9659)
(cherry picked from commit d7e6ef0f88)
2017-06-12 16:33:41 -07:00
Dan Abramov 0bee1300bf New blog post: What's New in Create React App (#9719) 2017-06-12 16:33:41 -07:00
Carolina Powers 7a3472ea53 Fix typo on tutorial.md. (#9644)
The absence of the word `this` will cause CodePen
to scream at you. This fix should avoid that.
(cherry picked from commit 7c1e971e7f)
2017-06-12 16:33:40 -07:00
Dan Abramov 18eff07423 Fix horizontal scrolling in docs (#9613)
(cherry picked from commit 6facb85f85)
2017-06-12 16:33:40 -07:00
Dan Abramov 1f943df61d Fix sequencing in the Tutorial (#9615)
* Fix sequencing in the Tutorial

* Update tutorial.md

* Update tutorial.md

(cherry picked from commit 138ff5e46b)
2017-06-12 16:33:40 -07:00
Dan Abramov 60332131d9 Tweak Tutorial based on feedback 2017-06-12 16:33:40 -07:00
Dan Abramov c51f8bc995 Bump docs version 2017-06-12 16:33:40 -07:00
Dan Abramov 3b7a6c8b56 Fix mobile layout 2017-06-12 16:33:40 -07:00
Dan Abramov aef13f093d Fix a typo 2017-06-12 16:33:40 -07:00
Dan Abramov 5458982197 Use a more specific link 2017-06-12 16:33:40 -07:00
Addy Osmani 3300ecb48a Add DEV mode note to installation doc (#8784) (#9157)
* Add DEV mode note to installation doc (#8784)

* Address feedback from Dan on wording

(cherry picked from commit f86256ece0)
2017-06-12 16:33:40 -07:00
Dan Abramov bf4af51c99 Add more info about building for production (#9592)
* Add more info about building for production

* Add more info to the docs

(cherry picked from commit 185db64c76)
2017-06-12 16:33:40 -07:00
Joe Critchley 4700f30d19 [Docs] Show the name 'React' first in the homepage's <title> (#9582)
(cherry picked from commit 109d1c95e3)
2017-06-12 16:33:40 -07:00