Commit Graph
328 Commits
Author SHA1 Message Date
Brian VaughnandGitHub 0e91b484b1 FB bundles wrap warning() calls in __DEV__ (#10314)
FB bundles wrap warning() calls in __DEV__

Split dev-mode transforms into separate parts:
1) umd+cjs+fb: Wrap warning calls with process.env checks
2) umd+cjs: Replace error messages with minified codes

Also updated transforms to use __DEV__ since it transforms to smaller code after stripEnvVariables is run.

Also renamed 'scripts/error-codes/dev-expression-with-codes.js' -> 'scripts/error-codes/replace-invariant-error-codes.js'
2017-08-02 14:14:26 -07:00
Dan Abramov b717ca445d Make it more specific 2017-07-27 23:44:43 +01:00
Fernando MontoyaandDan Abramov 33c15dce56 Add Babel plugin note to Error boundaries post (#10313)
* Add Babel plugin note to Error boundaries post

* Added section with screenshots

* Add context to Component stack traces

* Update 2017-07-26-error-handling-in-react-16.md

* Move section, more minor changes

* Change pics
2017-07-27 23:25:59 +01:00
Toru KobayashiandDan Abramov 6196ed26f5 Add a link for the error boundaries codemod into the blog post (#10305)
* Add a link for the error boundaries codemod into the blog post

* Update 2017-07-26-error-handling-in-react-16.md
2017-07-27 14:57:33 +01:00
Dan Abramov b2ca698f7c Reword further 2017-07-27 10:48:37 +01:00
Daniel Lo NigroandDan Abramov cebfae6fbd Replace "children (and grandchildren)" with "descendants" (#10297) 2017-07-27 10:23:36 +01:00
Dan Abramov 05a5ed1468 Link to React 16 beta 2017-07-26 21:20:12 +01:00
Dan AbramovandGitHub d7e7990b0a Blog post: Error Handling in React 16 (#10267)
* Blog post: Error Handling in React 16

* Change the date
2017-07-26 21:15:19 +01:00
Dan AbramovandGitHub 1d13542c9f Add addon changes to 15.6.0 changelog (#9958)
* Add addon changes to 15.6.0 changelog

* Oops

* Add to blogpost
2017-06-14 13:57:00 +01:00
Flarnie MarchanandGitHub df4a054042 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:51:45 -07:00
Dan Abramov 4821418c14 Fix doc styling and formatting issues 2017-06-10 00:04:50 +01:00
Fernando MontoyaandBrandon Dail d96fb90d2f Update webpack according to brand guidelines (#9595)
* Update webpack according to brand guidelines

* Change all ocurrences to webpack
2017-06-05 10:01:43 -05:00
LipisandBrandon Dail 914923007e Rename Javascript to JavaScript (#9796) 2017-05-30 21:35:22 -05:00
LipisandNathan Hunzaker 90f172871f Rename Github to GitHub (#9797) 2017-05-29 07:36:14 -04:00
Will MyersandDan Abramov 515d0d9ea1 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
2017-05-26 14:35:19 +01:00
Dan AbramovandGitHub 2794ade646 New blog post: What's New in Create React App (#9719) 2017-05-19 05:31:35 +01:00
Dan Abramov 0ec8771384 Use caret range in blog instructions
The release was a bit broken.
2017-04-11 22:04:29 +01:00
Andrew ClarkandGitHub d2cd56472a Blog post and changelog for 15.5.0 (#9368) 2017-04-07 14:41:16 -07:00
Dan AbramovandGitHub bdfb380129 Revert "Fix createNodeMock doc to avoid Invariant Violation" (#8990) 2017-02-13 20:15:49 +00:00
BDav24andDan Abramov 1caec1665d Fix createNodeMock doc to avoid Invariant Violation (#8989) 2017-02-13 20:13:31 +00:00
Oscar BolmstenandDan Abramov bde3a6cb2f webpack 2 is now stable (#8859)
Remove notice about different webpack versions
Update webpack URLs
2017-01-25 14:56:52 +00:00
SunHuaweiandDan Abramov 23f68c4d9b Fix a typo (#8580) 2017-01-23 17:43:48 +01:00
Andre GironandDan Abramov b1c93636f3 Fix typos (#8632)
* Fix typos

* Put back x in Latinx
2017-01-04 09:36:19 -08:00
DevinsuitandDan Abramov 74e1ebd946 Update blog post link (#8421) 2017-01-04 09:15:09 -08:00
Dan AbramovandGitHub ee9da911a1 Merge pull request #8339 from nolanlawson/patch-1
Update 2016-11-16-react-v15.4.0.md
2016-11-18 12:27:16 +00:00
Dan AbramovandGitHub 0bb536a221 Nit 2016-11-18 12:25:23 +00:00
Nolan LawsonandGitHub 00b2c8f335 Update 2016-11-16-react-v15.4.0.md
Edge and IE11 both show user marks and measures in the Dev Tools, so it's technically not accurate to say that only Chrome has this feature.
2016-11-17 15:53:41 -08:00
Dan Abramov 72af0cc753 Update installation instructions on the blog 2016-11-17 16:05:49 +00:00
Dan Abramov 83af045074 Add 15.4.0 blog post 2016-11-16 14:36:20 +00:00
Kevin LackerandDan Abramov 011b9a9499 New Documentation 2016-10-21 20:59:08 +01:00
Kyle MathewsandDan Abramov 503b683688 typos fix (#7822) 2016-09-28 17:27:25 +01:00
Christopher ChedeauandDan Abramov ce5fc216ec Our first 50,000 stars blogpost 2016-09-28 10:21:29 +01:00
Dan AbramovandGitHub 8bf0f84376 Update broken JSFiddle in Why React blog post (#7783)
Fixes #7782
2016-09-21 13:42:49 +01:00
Joseph SavonaandPaul O’Shannessy b413ca3fc6 Fix link formatting on Relay blog post (#7434) 2016-08-05 14:54:34 -07:00
Joseph SavonaandPaul O’Shannessy 13be69a97d Relay blog post (#7433) 2016-08-05 10:55:06 -07:00
Amjad MasadandPaul O’Shannessy 09e652c402 "transient dependencies" -> "transitive dependencies" (#7341)
I think that's what you meant -- although with npm dependencies are kind of transient :P
2016-07-25 16:16:11 -07:00
SeyiandPaul O’Shannessy 6db62b5eb0 Blog post: Fixed typo in post (#7336) 2016-07-22 12:40:46 -07:00
Paul O’ShannessyandGitHub d24425f375 Host our own images for the blog, use https links (#7339) 2016-07-22 12:36:07 -07:00
Steven SyrekandDan Abramov 24d9559233 Correct grammatical error (subject-verb agreement) (#7338)
"It is worth repeating: there is no configuration files or complicated folder structures." > "It is worth repeating: there are no configuration files or complicated folder structures."
2016-07-22 19:13:11 +01:00
Dan Abramov 20bd06fcf5 Add blog post 2016-07-22 16:58:33 +01:00
Fernando Alex HelwangerandDan Abramov 222e9b99df Add mixins property to context example (#7277) 2016-07-14 10:43:47 +01:00
Dan AbramovandGitHub db156dad54 Fix typos in “Mixins Considered Harmful” (#7275)
* Fix typos in “Mixins Considered Harmful”

* Use consistent code style
2016-07-13 18:46:21 +01:00
Dan AbramovandGitHub 9f574eebb1 Add a new blog post about mixins (#7273) 2016-07-13 17:40:53 +01:00
Keyan ZhangandPaul O’Shannessy 4ff660d31e Blog post for error codes 2016-07-11 17:39:12 -07:00
hjmossandJim 1cd36b40a4 Grammar: less dependencies -> fewer dependencies (#6917)
* Grammar: less dependencies -> fewer dependencies

* changelog.md grammar: less dependencies -> fewer dependencies
2016-05-31 09:17:13 -07:00
Adrian SieberandJim a52fb471ff Minor fixes (#6527)
* Fix typos in CHANGELOG.md

* Fix typos in 2014-11-24-react-js-conf-updates.md
2016-04-19 14:41:42 -07:00
Dan Abramov 9025843cd4 Use the same changelog format as 15.0 post 2016-04-08 23:00:20 +01:00
Paul O’Shannessy 4934550d6d 15.0.1 blog post
(cherry picked from commit 142e4ebb57269c4f44004204acdeea31945ab4a2)
2016-04-08 14:39:03 -07:00
Brandon DailandBrandon Dail 024ec96697 Grammar fix for 15.0 blog post
Since "This" is the subject and singular, "have" should be "has"

New wording explaining implementation details

Grammar fix for 15.0 blog post

Since "This" is the subject and singular, "have" should be "has"

Fix wording for 15.0 blog post

nitpicks
2016-04-08 11:04:06 -05:00
Paul O’Shannessy 00e51ccd9b [docs] Clarify data-reactid in v15 post 2016-04-07 15:27:05 -07:00