diff --git a/blog/2015/12/16/ismounted-antipattern.html b/blog/2015/12/16/ismounted-antipattern.html index 90ab91b1c3..03ccb968f4 100644 --- a/blog/2015/12/16/ismounted-antipattern.html +++ b/blog/2015/12/16/ismounted-antipattern.html @@ -161,14 +161,17 @@
const makeCancelable = (promise) => {
   let hasCanceled_ = false;
 
+  const wrappedPromise = new Promise((resolve, reject) => {
+    promise.then((val) =>
+      hasCanceled_ ? reject({isCanceled: true}) : resolve(val)
+    );
+    promise.catch((error) =>
+      hasCanceled_ ? reject({isCanceled: true}) : reject(error)
+    );
+  });
+
   return {
-    promise: new Promise(
-      (resolve, reject) => promise
-        .then(r => hasCanceled_
-          ? reject({isCanceled: true})
-          : resolve(r)
-        )
-    ),
+    promise: wrappedPromise,
     cancel() {
       hasCanceled_ = true;
     },
diff --git a/blog/page2/index.html b/blog/page2/index.html
index 48dfe1992d..92574f4377 100644
--- a/blog/page2/index.html
+++ b/blog/page2/index.html
@@ -163,14 +163,17 @@
 
const makeCancelable = (promise) => {
   let hasCanceled_ = false;
 
+  const wrappedPromise = new Promise((resolve, reject) => {
+    promise.then((val) =>
+      hasCanceled_ ? reject({isCanceled: true}) : resolve(val)
+    );
+    promise.catch((error) =>
+      hasCanceled_ ? reject({isCanceled: true}) : reject(error)
+    );
+  });
+
   return {
-    promise: new Promise(
-      (resolve, reject) => promise
-        .then(r => hasCanceled_
-          ? reject({isCanceled: true})
-          : resolve(r)
-        )
-    ),
+    promise: wrappedPromise,
     cancel() {
       hasCanceled_ = true;
     },
diff --git a/css/react.css b/css/react.css
index f42071f142..921982ec18 100644
--- a/css/react.css
+++ b/css/react.css
@@ -1 +1 @@
-html{font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-family:proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;color:#484848;line-height:1.28}p{margin:0 0 10px}.subHeader{font-size:21px;font-weight:200;line-height:30px;margin-bottom:10px}em{font-style:italic}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#7b7b7b}h1,h2,h3{line-height:40px}h1{font-size:39px}h2{font-size:31px}h3{font-size:23px}h4{font-size:16px}h5{font-size:14px}h6{font-size:11px}h1 small{font-size:24px}h2 small{font-size:18px}h3 small{font-size:16px}h4 small{font-size:14px}ul,ol{margin:0 0 10px 25px;padding:0}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}a{color:#c05b4d;text-decoration:none}a:hover,a:focus{color:#a5473a;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.center{text-align:center}html *{color-profile:sRGB;rendering-intent:auto}.cm-s-solarized-light{background-color:#f8f5ec;color:#637c84}.cm-s-solarized-light .emphasis{font-weight:bold}.cm-s-solarized-light .dotted{border-bottom:1px dotted #cb4b16}.cm-s-solarized-light .CodeMirror-gutter{background-color:#eee8d5;border-right:3px solid #eee8d5}.cm-s-solarized-light .CodeMirror-gutter .CodeMirror-gutter-text{color:#93a1a1}.cm-s-solarized-light .CodeMirror-cursor{border-left-color:#002b36 !important}.cm-s-solarized-light .CodeMirror-matchingbracket{color:#002b36;background-color:#eee8d5;box-shadow:0 0 10px #eee8d5;font-weight:bold}.cm-s-solarized-light .CodeMirror-nonmatchingbracket{color:#002b36;background-color:#eee8d5;box-shadow:0 0 10px #eee8d5;font-weight:bold;color:#dc322f;border-bottom:1px dotted #cb4b16}.cm-s-solarized-light span.cm-keyword{color:#268bd2}.cm-s-solarized-light span.cm-atom{color:#2aa198}.cm-s-solarized-light span.cm-number{color:#586e75}.cm-s-solarized-light span.cm-def{color:#637c84}.cm-s-solarized-light span.cm-variable{color:#637c84}.cm-s-solarized-light span.cm-variable-2{color:#b58900}.cm-s-solarized-light span.cm-variable-3{color:#cb4b16}.cm-s-solarized-light span.cm-comment{color:#93a1a1}.cm-s-solarized-light span.cm-property{color:#637c84}.cm-s-solarized-light span.cm-operator{color:#657b83}.cm-s-solarized-light span.cm-string{color:#36958e}.cm-s-solarized-light span.cm-error{font-weight:bold;border-bottom:1px dotted #cb4b16}.cm-s-solarized-light span.cm-bracket{color:#cb4b16}.cm-s-solarized-light span.cm-tag{color:#657b83}.cm-s-solarized-light span.cm-attribute{color:#586e75;font-weight:bold}.cm-s-solarized-light span.cm-meta{color:#268bd2}.cm-s-solarized-dark{background-color:#002b36;color:#839496}.cm-s-solarized-dark .emphasis{font-weight:bold}.cm-s-solarized-dark .dotted{border-bottom:1px dotted #cb4b16}.cm-s-solarized-dark .CodeMirror-gutter{background-color:#073642;border-right:3px solid #073642}.cm-s-solarized-dark .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized-dark .CodeMirror-cursor{border-left-color:#fdf6e3 !important}.cm-s-solarized-dark .CodeMirror-matchingbracket{color:#fdf6e3;background-color:#073642;box-shadow:0 0 10px #073642;font-weight:bold}.cm-s-solarized-dark .CodeMirror-nonmatchingbracket{color:#fdf6e3;background-color:#073642;box-shadow:0 0 10px #073642;font-weight:bold;color:#dc322f;border-bottom:1px dotted #cb4b16}.cm-s-solarized-dark span.cm-keyword{color:#839496;font-weight:bold}.cm-s-solarized-dark span.cm-atom{color:#2aa198}.cm-s-solarized-dark span.cm-number{color:#93a1a1}.cm-s-solarized-dark span.cm-def{color:#268bd2}.cm-s-solarized-dark span.cm-variable{color:#cb4b16}.cm-s-solarized-dark span.cm-variable-2{color:#cb4b16}.cm-s-solarized-dark span.cm-variable-3{color:#cb4b16}.cm-s-solarized-dark span.cm-comment{color:#586e75}.cm-s-solarized-dark span.cm-property{color:#b58900}.cm-s-solarized-dark span.cm-operator{color:#839496}.cm-s-solarized-dark span.cm-string{color:#6c71c4}.cm-s-solarized-dark span.cm-error{font-weight:bold;border-bottom:1px dotted #cb4b16}.cm-s-solarized-dark span.cm-bracket{color:#cb4b16}.cm-s-solarized-dark span.cm-tag{color:#839496}.cm-s-solarized-dark span.cm-attribute{color:#93a1a1;font-weight:bold}.cm-s-solarized-dark span.cm-meta{color:#268bd2}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;margin:0;padding:0}html{background:#f9f9f9}.left{float:left}.right{float:right}.container{padding-top:50px;min-width:960px}.wrap{width:960px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}.skinnyWrap{width:690px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}hr{height:0;border-top:1px solid #ccc;border-bottom:1px solid #eee}ul,li{margin-left:20px}li+li{margin-top:10px}h1 .anchor,h2 .anchor,h3 .anchor,h4 .anchor,h5 .anchor,h6 .anchor{margin-top:-50px;position:absolute}h1:hover .hash-link,h2:hover .hash-link,h3:hover .hash-link,h4:hover .hash-link,h5:hover .hash-link,h6:hover .hash-link{display:inline}.hash-link{color:#aaa;display:none}.nav-main{background:#222;color:#fafafa;position:fixed;top:0;height:50px;box-shadow:0 0 5px rgba(0,0,0,0.5);width:100%;z-index:100}.nav-main:after{content:"";display:table;clear:both}.nav-main a{color:#e9e9e9;text-decoration:none}.nav-main .nav-site-internal{margin:0 0 0 20px}.nav-main .nav-site-external{float:right;margin:0}.nav-main .nav-site li{margin:0}.nav-main .nav-site a{box-sizing:content-box;padding:0 10px;line-height:50px;display:inline-block;height:50px;color:#ddd}.nav-main .nav-site a:hover{color:#fff}.nav-main .nav-site a.active{color:#fafafa;border-bottom:3px solid #cc7a6f;background:#333}.nav-main .nav-home{color:#00d8ff;font-size:24px;line-height:50px;height:50px;display:inline-block}.nav-main .nav-logo{vertical-align:middle;display:inline-block}.nav-main ul{display:inline-block;vertical-align:top}.nav-main li{display:inline}.hero{height:300px;background:#2d2d2d;padding-top:50px;color:#e9e9e9;font-weight:300}.hero .text{font-size:64px;text-align:center}.hero .minitext{font-size:16px;text-align:center;text-transform:uppercase}.hero strong{color:#61dafb;font-weight:400}.buttons-unit{margin-top:60px;text-align:center}.buttons-unit a{color:#61dafb}.buttons-unit .button{font-size:24px;background:#cc7a6f;color:#fafafa}.buttons-unit .button:active{background:#c5695c}.buttons-unit.downloads{margin:30px 0}.nav-docs{color:#2d2d2d;font-size:14px;float:left;width:210px}.nav-docs ul{list-style:none;margin:0}.nav-docs ul ul{margin:6px 0 0 20px}.nav-docs li{line-height:16px;margin:0 0 6px}.nav-docs h3{text-transform:uppercase;font-size:14px}.nav-docs a{color:#666;display:block}.nav-docs a:hover{text-decoration:none;color:#cc7a6f}.nav-docs a.active{color:#cc7a6f}.nav-docs .nav-docs-section{border-bottom:1px solid #ccc;border-top:1px solid #eee;padding:12px 0}.nav-docs .nav-docs-section:first-child{padding-top:0;border-top:0}.nav-docs .nav-docs-section:last-child{padding-bottom:0;border-bottom:0}.nav-blog li{margin-bottom:5px}.home-section{margin:50px 0}.home-divider{border-top-color:#bbb;margin:0 auto;width:400px}.skinny-row:after{content:"";display:table;clear:both}.skinny-col{float:left;margin-left:40px;width:305px}.skinny-col:first-child{margin-left:0}.marketing-row{margin:50px 0}.marketing-row:after{content:"";display:table;clear:both}.marketing-col{float:left;margin-left:40px;width:280px}.marketing-col h3{color:#2d2d2d;font-size:24px;font-weight:normal;text-transform:uppercase}.marketing-col p{font-size:16px}.marketing-col:first-child{margin-left:0}#examples h3,.home-presentation h3{color:#2d2d2d;font-size:24px;font-weight:normal;margin-bottom:5px}#examples p{margin:0 0 25px 0;max-width:600px}#examples .example{margin-top:60px}#examples #todoExample{font-size:14px}#examples #todoExample ul{list-style-type:square;margin:0 0 10px 0}#examples #todoExample input{border:1px solid #ccc;font:14px proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;padding:3px;width:150px}#examples #todoExample button{font:14px proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;margin-left:5px;padding:4px 10px}#examples #markdownExample textarea{border:1px solid #ccc;font:14px proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;margin-bottom:10px;padding:5px}.home-bottom-section{margin-bottom:100px}.docs-nextprev:after{content:"";display:table;clear:both}.jsxCompiler{margin:0 auto;padding-top:20px;width:1220px}.jsxCompiler label.compiler-option{display:block;margin-top:5px}.jsxCompiler #jsxCompiler{margin-top:20px}.jsxCompiler .playgroundPreview{padding:0;width:600px;word-wrap:break-word}.jsxCompiler .playgroundPreview pre{font-family:'source-code-pro', Menlo, Consolas, 'Courier New', monospace;font-size:13px;line-height:1.5}.jsxCompiler .playgroundError{padding:15px 20px}.docs-prev{float:left}.docs-next{float:right}footer{font-size:13px;font-weight:600;margin-top:36px;margin-bottom:18px;overflow:auto}section.black content{padding-bottom:18px}.blogContent{padding-top:20px}.blogContent:after{content:"";display:table;clear:both}.blogContent blockquote{padding:5px 15px;margin:20px 0;background-color:#f8f5ec;border-left:5px solid #f7ebc6}.blogContent h2>code{font-size:inherit;line-height:inherit;color:#555;background-color:rgba(0,0,0,0.04)}.documentationContent{padding-top:20px}.documentationContent:after{content:"";display:table;clear:both}.documentationContent .subHeader{font-size:24px}.documentationContent h2{margin-top:30px}.documentationContent blockquote{padding:15px 30px 15px 15px;margin:20px 0;background-color:rgba(204,122,111,0.1);border-left:5px solid rgba(191,87,73,0.2)}.documentationContent blockquote h4{margin-top:0}.documentationContent blockquote p{margin-bottom:0}.documentationContent blockquote p:first-child{font-weight:bold;font-size:17.5px;line-height:20px;margin-top:0;text-rendering:optimizelegibility}.docs-prevnext{padding-top:40px;padding-bottom:40px}.button{background:-webkit-linear-gradient(#9a9a9a, #646464);background:linear-gradient(#9a9a9a, #646464);border-radius:4px;padding:8px 16px;font-size:18px;font-weight:400;margin:0 12px;display:inline-block;color:#fafafa;text-decoration:none;text-shadow:0 1px 3px rgba(0,0,0,0.3);box-shadow:0 1px 1px rgba(0,0,0,0.2);text-decoration:none}.button:hover{text-decoration:none}.button:active{box-shadow:none}.hero .button{box-shadow:1px 3px 3px rgba(0,0,0,0.3)}.button.blue{background:-webkit-linear-gradient(#77a3d2, #4783c2);background:linear-gradient(#77a3d2, #4783c2)}.row{padding-bottom:4px}.row .span4{width:33.33%;display:table-cell}.row .span8{width:66.66%;display:table-cell}.row .span6{width:50%;display:table-cell}p{margin:10px 0}.highlight{padding:10px;margin-bottom:20px}figure{text-align:center}.inner-content{float:right;width:650px}.nosidebar .inner-content{float:none;margin:0 auto}h1:after{content:"";display:table;clear:both}.edit-page-link{float:right;font-size:16px;font-weight:normal;line-height:20px;margin-top:17px}.post-list-item+.post-list-item{margin-top:60px}div.CodeMirror pre,div.CodeMirror-linenumber,code{font-family:'source-code-pro', Menlo, Consolas, 'Courier New', monospace;font-size:13px;line-height:1.5}div.CodeMirror-linenumber{text-align:right}.CodeMirror,div.CodeMirror-gutters,div.highlight{border:none}.CodeMirror-readonly div.CodeMirror-cursor{visibility:hidden}small code,li code,p code{color:#555;background-color:rgba(0,0,0,0.04);padding:1px 3px}small a code,li a code,p a code{color:inherit}.cm-s-default span.cm-string-2{color:inherit}.playground:after{content:"";display:table;clear:both}.playground-tab{border-bottom:none !important;border-radius:3px 3px 0 0;padding:6px 8px;font-size:12px;font-weight:bold;color:#c2c0bc;background-color:#f1ede4;display:inline-block;cursor:pointer}.playgroundCode,.playground-tab,.playgroundPreview{border:1px solid rgba(16,16,16,0.1)}.playground-tab-active{color:#222}.playgroundCode{border-radius:0 3px 3px 3px;float:left;overflow:hidden;width:600px}.playgroundPreview{background-color:white;border-radius:3px;float:right;padding:15px 20px;width:280px}.playgroundError{color:#c5695c;font-size:15px}.MarkdownEditor textarea{width:100%;height:100px}.MarkdownEditor .content{white-space:pre-wrap}.hll{background-color:#f7ebc6;border-left:5px solid #f7d87c;display:block;margin-left:-14px;margin-right:-14px;padding-left:9px}.highlight .javascript .err{background-color:transparent;color:inherit}.highlight{position:relative;margin-bottom:14px;padding:30px 14px 14px;border:none;border-radius:0;overflow:auto}.highlight pre{padding:0;margin-top:0;margin-bottom:0;background-color:transparent;border:0}.highlight pre code{display:block;background:none;padding:0}.highlight pre .lineno{display:inline-block;width:22px;padding-right:5px;margin-right:10px;color:#bebec5;text-align:right}.highlight:after{position:absolute;top:0;right:0;left:0;padding:3px 7px;font-size:12px;font-weight:bold;color:#c2c0bc;background-color:#f1ede4;content:"Code"}.downloadCenter{text-align:center;margin-top:20px;margin-bottom:25px}.downloadSection:hover{text-decoration:none !important}@media screen and (max-width: 960px){.nav-main{position:static}.container{padding-top:0}}.post{margin-bottom:30px}.post img{max-width:100%}.pagination{margin-bottom:30px;width:100%;overflow:hidden}.pagination .next{float:right}div[data-twttr-id] iframe{margin:10px auto !important;width:100% !important}.three-column:after{content:"";display:table;clear:both}.three-column>ul{float:left;margin-left:30px;width:190px}.three-column>ul:first-child{margin-left:20px}
+html{font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-family:proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;color:#484848;line-height:1.28}p{margin:0 0 10px}.subHeader{font-size:21px;font-weight:200;line-height:30px;margin-bottom:10px}em{font-style:italic}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#7b7b7b}h1,h2,h3{line-height:40px}h1{font-size:39px}h2{font-size:31px}h3{font-size:23px}h4{font-size:16px}h5{font-size:14px}h6{font-size:11px}h1 small{font-size:24px}h2 small{font-size:18px}h3 small{font-size:16px}h4 small{font-size:14px}ul,ol{margin:0 0 10px 25px;padding:0}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}a{color:#c05b4d;text-decoration:none}a:hover,a:focus{color:#a5473a;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.center{text-align:center}html *{color-profile:sRGB;rendering-intent:auto}.cm-s-solarized-light{background-color:#f8f5ec;color:#637c84}.cm-s-solarized-light .emphasis{font-weight:bold}.cm-s-solarized-light .dotted{border-bottom:1px dotted #cb4b16}.cm-s-solarized-light .CodeMirror-gutter{background-color:#eee8d5;border-right:3px solid #eee8d5}.cm-s-solarized-light .CodeMirror-gutter .CodeMirror-gutter-text{color:#93a1a1}.cm-s-solarized-light .CodeMirror-cursor{border-left-color:#002b36 !important}.cm-s-solarized-light .CodeMirror-matchingbracket{color:#002b36;background-color:#eee8d5;box-shadow:0 0 10px #eee8d5;font-weight:bold}.cm-s-solarized-light .CodeMirror-nonmatchingbracket{color:#002b36;background-color:#eee8d5;box-shadow:0 0 10px #eee8d5;font-weight:bold;color:#dc322f;border-bottom:1px dotted #cb4b16}.cm-s-solarized-light span.cm-keyword{color:#268bd2}.cm-s-solarized-light span.cm-atom{color:#2aa198}.cm-s-solarized-light span.cm-number{color:#586e75}.cm-s-solarized-light span.cm-def{color:#637c84}.cm-s-solarized-light span.cm-variable{color:#637c84}.cm-s-solarized-light span.cm-variable-2{color:#b58900}.cm-s-solarized-light span.cm-variable-3{color:#cb4b16}.cm-s-solarized-light span.cm-comment{color:#93a1a1}.cm-s-solarized-light span.cm-property{color:#637c84}.cm-s-solarized-light span.cm-operator{color:#657b83}.cm-s-solarized-light span.cm-string{color:#36958e}.cm-s-solarized-light span.cm-error{font-weight:bold;border-bottom:1px dotted #cb4b16}.cm-s-solarized-light span.cm-bracket{color:#cb4b16}.cm-s-solarized-light span.cm-tag{color:#657b83}.cm-s-solarized-light span.cm-attribute{color:#586e75;font-weight:bold}.cm-s-solarized-light span.cm-meta{color:#268bd2}.cm-s-solarized-dark{background-color:#002b36;color:#839496}.cm-s-solarized-dark .emphasis{font-weight:bold}.cm-s-solarized-dark .dotted{border-bottom:1px dotted #cb4b16}.cm-s-solarized-dark .CodeMirror-gutter{background-color:#073642;border-right:3px solid #073642}.cm-s-solarized-dark .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized-dark .CodeMirror-cursor{border-left-color:#fdf6e3 !important}.cm-s-solarized-dark .CodeMirror-matchingbracket{color:#fdf6e3;background-color:#073642;box-shadow:0 0 10px #073642;font-weight:bold}.cm-s-solarized-dark .CodeMirror-nonmatchingbracket{color:#fdf6e3;background-color:#073642;box-shadow:0 0 10px #073642;font-weight:bold;color:#dc322f;border-bottom:1px dotted #cb4b16}.cm-s-solarized-dark span.cm-keyword{color:#839496;font-weight:bold}.cm-s-solarized-dark span.cm-atom{color:#2aa198}.cm-s-solarized-dark span.cm-number{color:#93a1a1}.cm-s-solarized-dark span.cm-def{color:#268bd2}.cm-s-solarized-dark span.cm-variable{color:#cb4b16}.cm-s-solarized-dark span.cm-variable-2{color:#cb4b16}.cm-s-solarized-dark span.cm-variable-3{color:#cb4b16}.cm-s-solarized-dark span.cm-comment{color:#586e75}.cm-s-solarized-dark span.cm-property{color:#b58900}.cm-s-solarized-dark span.cm-operator{color:#839496}.cm-s-solarized-dark span.cm-string{color:#6c71c4}.cm-s-solarized-dark span.cm-error{font-weight:bold;border-bottom:1px dotted #cb4b16}.cm-s-solarized-dark span.cm-bracket{color:#cb4b16}.cm-s-solarized-dark span.cm-tag{color:#839496}.cm-s-solarized-dark span.cm-attribute{color:#93a1a1;font-weight:bold}.cm-s-solarized-dark span.cm-meta{color:#268bd2}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;margin:0;padding:0}html{background:#f9f9f9}.left{float:left}.right{float:right}.container{padding-top:50px;min-width:960px}.wrap{width:960px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}.skinnyWrap{width:690px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}hr{height:0;border-top:1px solid #ccc;border-bottom:1px solid #eee}ul,li{margin-left:20px}li+li{margin-top:10px}h1 .anchor,h2 .anchor,h3 .anchor,h4 .anchor,h5 .anchor,h6 .anchor{margin-top:-50px;position:absolute}h1:hover .hash-link,h2:hover .hash-link,h3:hover .hash-link,h4:hover .hash-link,h5:hover .hash-link,h6:hover .hash-link{display:inline}.hash-link{color:#aaa;display:none}.nav-main{background:#222;color:#fafafa;position:fixed;top:0;height:50px;box-shadow:0 0 5px rgba(0,0,0,0.5);width:100%;z-index:100}.nav-main:after{content:"";display:table;clear:both}.nav-main a{color:#e9e9e9;text-decoration:none}.nav-main .nav-site-internal{margin:0 0 0 20px}.nav-main .nav-site-external{float:right;margin:0}.nav-main .nav-site li{margin:0}.nav-main .nav-site a{box-sizing:content-box;padding:0 10px;line-height:50px;display:inline-block;height:50px;color:#ddd}.nav-main .nav-site a:hover{color:#fff}.nav-main .nav-site a.active{color:#fafafa;border-bottom:3px solid #cc7a6f;background:#333}.nav-main .nav-home{color:#00d8ff;font-size:24px;line-height:50px;height:50px;display:inline-block}.nav-main .nav-logo{vertical-align:middle;display:inline-block}.nav-main ul{display:inline-block;vertical-align:top}.nav-main li{display:inline}.hero{height:300px;background:#2d2d2d;padding-top:50px;color:#e9e9e9;font-weight:300}.hero .text{font-size:64px;text-align:center}.hero .minitext{font-size:16px;text-align:center;text-transform:uppercase}.hero strong{color:#61dafb;font-weight:400}.buttons-unit{margin-top:60px;text-align:center}.buttons-unit a{color:#61dafb}.buttons-unit .button{font-size:24px;background:#cc7a6f;color:#fafafa}.buttons-unit .button:active{background:#c5695c}.buttons-unit.downloads{margin:30px 0}.nav-docs{color:#2d2d2d;font-size:14px;float:left;width:210px}.nav-docs ul{list-style:none;margin:0}.nav-docs ul ul{margin:6px 0 0 20px}.nav-docs li{line-height:16px;margin:0 0 6px}.nav-docs h3{text-transform:uppercase;font-size:14px}.nav-docs a{color:#666;display:block}.nav-docs a:hover{text-decoration:none;color:#cc7a6f}.nav-docs a.active{color:#cc7a6f}.nav-docs a.external:after{content:"";display:inline-block;width:10px;height:10px;padding-left:5px;background-image:url("../img/external.png");background-position:100% 0;background-repeat:no-repeat;font-size:10px;line-height:1em;opacity:0.5}@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx){.nav-docs a.external:after{background-image:url("../img/external_2x.png");background-size:10px 10px}}.nav-docs .nav-docs-section{border-bottom:1px solid #ccc;border-top:1px solid #eee;padding:12px 0}.nav-docs .nav-docs-section:first-child{padding-top:0;border-top:0}.nav-docs .nav-docs-section:last-child{padding-bottom:0;border-bottom:0}.nav-blog li{margin-bottom:5px}.home-section{margin:50px 0}.home-divider{border-top-color:#bbb;margin:0 auto;width:400px}.skinny-row:after{content:"";display:table;clear:both}.skinny-col{float:left;margin-left:40px;width:305px}.skinny-col:first-child{margin-left:0}.marketing-row{margin:50px 0}.marketing-row:after{content:"";display:table;clear:both}.marketing-col{float:left;margin-left:40px;width:280px}.marketing-col h3{color:#2d2d2d;font-size:24px;font-weight:normal;text-transform:uppercase}.marketing-col p{font-size:16px}.marketing-col:first-child{margin-left:0}#examples h3,.home-presentation h3{color:#2d2d2d;font-size:24px;font-weight:normal;margin-bottom:5px}#examples p{margin:0 0 25px 0;max-width:600px}#examples .example{margin-top:60px}#examples #todoExample{font-size:14px}#examples #todoExample ul{list-style-type:square;margin:0 0 10px 0}#examples #todoExample input{border:1px solid #ccc;font:14px proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;padding:3px;width:150px}#examples #todoExample button{font:14px proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;margin-left:5px;padding:4px 10px}#examples #markdownExample textarea{border:1px solid #ccc;font:14px proxima-nova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;margin-bottom:10px;padding:5px}.home-bottom-section{margin-bottom:100px}.docs-nextprev:after{content:"";display:table;clear:both}.jsxCompiler{margin:0 auto;padding-top:20px;width:1220px}.jsxCompiler label.compiler-option{display:block;margin-top:5px}.jsxCompiler #jsxCompiler{margin-top:20px}.jsxCompiler .playgroundPreview{padding:0;width:600px;word-wrap:break-word}.jsxCompiler .playgroundPreview pre{font-family:'source-code-pro', Menlo, Consolas, 'Courier New', monospace;font-size:13px;line-height:1.5}.jsxCompiler .playgroundError{padding:15px 20px}.docs-prev{float:left}.docs-next{float:right}footer{font-size:13px;font-weight:600;margin-top:36px;margin-bottom:18px;overflow:auto}section.black content{padding-bottom:18px}.blogContent{padding-top:20px}.blogContent:after{content:"";display:table;clear:both}.blogContent blockquote{padding:5px 15px;margin:20px 0;background-color:#f8f5ec;border-left:5px solid #f7ebc6}.blogContent h2>code{font-size:inherit;line-height:inherit;color:#555;background-color:rgba(0,0,0,0.04)}.documentationContent{padding-top:20px}.documentationContent:after{content:"";display:table;clear:both}.documentationContent .subHeader{font-size:24px}.documentationContent h2{margin-top:30px}.documentationContent blockquote{padding:15px 30px 15px 15px;margin:20px 0;background-color:rgba(204,122,111,0.1);border-left:5px solid rgba(191,87,73,0.2)}.documentationContent blockquote h4{margin-top:0}.documentationContent blockquote p{margin-bottom:0}.documentationContent blockquote p:first-child{font-weight:bold;font-size:17.5px;line-height:20px;margin-top:0;text-rendering:optimizelegibility}.docs-prevnext{padding-top:40px;padding-bottom:40px}.button{background:-webkit-linear-gradient(#9a9a9a, #646464);background:linear-gradient(#9a9a9a, #646464);border-radius:4px;padding:8px 16px;font-size:18px;font-weight:400;margin:0 12px;display:inline-block;color:#fafafa;text-decoration:none;text-shadow:0 1px 3px rgba(0,0,0,0.3);box-shadow:0 1px 1px rgba(0,0,0,0.2);text-decoration:none}.button:hover{text-decoration:none}.button:active{box-shadow:none}.hero .button{box-shadow:1px 3px 3px rgba(0,0,0,0.3)}.button.blue{background:-webkit-linear-gradient(#77a3d2, #4783c2);background:linear-gradient(#77a3d2, #4783c2)}.row{padding-bottom:4px}.row .span4{width:33.33%;display:table-cell}.row .span8{width:66.66%;display:table-cell}.row .span6{width:50%;display:table-cell}p{margin:10px 0}.highlight{padding:10px;margin-bottom:20px}figure{text-align:center}.inner-content{float:right;width:650px}.nosidebar .inner-content{float:none;margin:0 auto}h1:after{content:"";display:table;clear:both}.edit-page-link{float:right;font-size:16px;font-weight:normal;line-height:20px;margin-top:17px}.post-list-item+.post-list-item{margin-top:60px}div.CodeMirror pre,div.CodeMirror-linenumber,code{font-family:'source-code-pro', Menlo, Consolas, 'Courier New', monospace;font-size:13px;line-height:1.5}div.CodeMirror-linenumber{text-align:right}.CodeMirror,div.CodeMirror-gutters,div.highlight{border:none}.CodeMirror-readonly div.CodeMirror-cursor{visibility:hidden}small code,li code,p code{color:#555;background-color:rgba(0,0,0,0.04);padding:1px 3px}small a code,li a code,p a code{color:inherit}.cm-s-default span.cm-string-2{color:inherit}.playground:after{content:"";display:table;clear:both}.playground-tab{border-bottom:none !important;border-radius:3px 3px 0 0;padding:6px 8px;font-size:12px;font-weight:bold;color:#c2c0bc;background-color:#f1ede4;display:inline-block;cursor:pointer}.playgroundCode,.playground-tab,.playgroundPreview{border:1px solid rgba(16,16,16,0.1)}.playground-tab-active{color:#222}.playgroundCode{border-radius:0 3px 3px 3px;float:left;overflow:hidden;width:600px}.playgroundPreview{background-color:white;border-radius:3px;float:right;padding:15px 20px;width:280px}.playgroundError{color:#c5695c;font-size:15px}.MarkdownEditor textarea{width:100%;height:100px}.MarkdownEditor .content{white-space:pre-wrap}.hll{background-color:#f7ebc6;border-left:5px solid #f7d87c;display:block;margin-left:-14px;margin-right:-14px;padding-left:9px}.highlight .javascript .err{background-color:transparent;color:inherit}.highlight{position:relative;margin-bottom:14px;padding:30px 14px 14px;border:none;border-radius:0;overflow:auto}.highlight pre{padding:0;margin-top:0;margin-bottom:0;background-color:transparent;border:0}.highlight pre code{display:block;background:none;padding:0}.highlight pre .lineno{display:inline-block;width:22px;padding-right:5px;margin-right:10px;color:#bebec5;text-align:right}.highlight:after{position:absolute;top:0;right:0;left:0;padding:3px 7px;font-size:12px;font-weight:bold;color:#c2c0bc;background-color:#f1ede4;content:"Code"}.downloadCenter{text-align:center;margin-top:20px;margin-bottom:25px}.downloadSection:hover{text-decoration:none !important}@media screen and (max-width: 960px){.nav-main{position:static}.container{padding-top:0}}.post{margin-bottom:30px}.post img{max-width:100%}.pagination{margin-bottom:30px;width:100%;overflow:hidden}.pagination .next{float:right}div[data-twttr-id] iframe{margin:10px auto !important;width:100% !important}.three-column:after{content:"";display:table;clear:both}.three-column>ul{float:left;margin-left:30px;width:190px}.three-column>ul:first-child{margin-left:20px}
diff --git a/docs/addons-it-IT.html b/docs/addons-it-IT.html
index efbe751d2b..4141af7617 100644
--- a/docs/addons-it-IT.html
+++ b/docs/addons-it-IT.html
@@ -102,12 +102,12 @@
           
         
           
  • - Complementary Tools + Complementary Tools
  • - Examples + Examples
  • @@ -307,12 +307,12 @@
    -

    The XML syntax inside of JavaScript is called JSX; check out the JSX syntax to learn more about it. In order to translate it to vanilla JavaScript we use <script type="text/babel"> and include Babel to actually perform the transformation in the browser.

    +

    The XML syntax inside of JavaScript is called JSX; check out the JSX syntax to learn more about it. In order to translate it to vanilla JavaScript we use <script type="text/babel"> and include Babel to actually perform the transformation in the browser. Open the html from a browser and you should already be able to see the greeting!

    Separate File #

    Your React JSX code can live in a separate file. Create the following src/helloworld.js.

    ReactDOM.render(
    diff --git a/docs/glossary-it-IT.html b/docs/glossary-it-IT.html
    index f073ef0e27..9ac4e4fdd8 100644
    --- a/docs/glossary-it-IT.html
    +++ b/docs/glossary-it-IT.html
    @@ -102,12 +102,12 @@
               
             
               
  • - Complementary Tools + Complementary Tools
  • - Examples + Examples
  • @@ -307,12 +307,12 @@
    +

    Example using ES6 class syntax:

    +
    import PureRenderMixin from 'react-addons-pure-render-mixin';
    +class FooComponent extends React.Component {
    +  constructor(props) {
    +    super(props);
    +    this.shouldComponentUpdate = PureRenderMixin.shouldComponentUpdate.bind(this);
    +  }
    +
    +  render() {
    +    return <div className={this.props.className}>foo</div>;
    +  }
    +}
    +

    Under the hood, the mixin implements shouldComponentUpdate, in which it compares the current props and state with the next ones and returns false if the equalities pass.

    diff --git a/docs/reconciliation-it-IT.html b/docs/reconciliation-it-IT.html index 257d478552..c046647554 100644 --- a/docs/reconciliation-it-IT.html +++ b/docs/reconciliation-it-IT.html @@ -102,12 +102,12 @@
  • - Complementary Tools + Complementary Tools
  • - Examples + Examples
  • @@ -307,12 +307,12 @@

    After the attributes have been updated, we recurse on all the children.

    Custom Components #

    -

    We decided that the two custom components are the same. Since components are stateful, we cannot just use the new component and call it a day. React takes all the attributes from the new component and calls component[Will/Did]ReceiveProps() on the previous one.

    +

    We decided that the two custom components are the same. Since components are stateful, we cannot just use the new component and call it a day. React takes all the attributes from the new component and calls componentWillReceiveProps() and componentWillUpdate() on the previous one.

    The previous component is now operational. Its render() method is called and the diff algorithm restarts with the new result and the previous result.

    List-wise diff #

    Problematic Case #

    diff --git a/docs/reusable-components-it-IT.html b/docs/reusable-components-it-IT.html index c475b1a01d..d36bb26094 100644 --- a/docs/reusable-components-it-IT.html +++ b/docs/reusable-components-it-IT.html @@ -102,12 +102,12 @@
  • - Complementary Tools + Complementary Tools
  • - Examples + Examples
  • @@ -307,12 +307,12 @@
    • - Flux Overview + Flux Overview
    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
    • diff --git a/docs/reusable-components-ja-JP.html b/docs/reusable-components-ja-JP.html index 255a1d05b0..8e928cfc4e 100644 --- a/docs/reusable-components-ja-JP.html +++ b/docs/reusable-components-ja-JP.html @@ -102,12 +102,12 @@
    • - Complementary Tools + Complementary Tools
    • - Examples + Examples
    • @@ -307,12 +307,12 @@
      • - Flux Overview + Flux Overview
      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
      • diff --git a/docs/reusable-components-ko-KR.html b/docs/reusable-components-ko-KR.html index e97226d3f1..752a2bac71 100644 --- a/docs/reusable-components-ko-KR.html +++ b/docs/reusable-components-ko-KR.html @@ -102,12 +102,12 @@
      • - Complementary Tools + Complementary Tools
      • - Examples + Examples
      • @@ -307,12 +307,12 @@
        • - Flux Overview + Flux Overview
        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
        • diff --git a/docs/reusable-components-zh-CN.html b/docs/reusable-components-zh-CN.html index 07a281033d..db0f14f090 100644 --- a/docs/reusable-components-zh-CN.html +++ b/docs/reusable-components-zh-CN.html @@ -102,12 +102,12 @@
        • - Complementary Tools + Complementary Tools
        • - Examples + Examples
        • @@ -307,12 +307,12 @@
          • - Flux Overview + Flux Overview
          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
          • diff --git a/docs/reusable-components.html b/docs/reusable-components.html index cadd91d2c8..a09c5f1186 100644 --- a/docs/reusable-components.html +++ b/docs/reusable-components.html @@ -102,12 +102,12 @@
          • - Complementary Tools + Complementary Tools
          • - Examples + Examples
          • @@ -307,12 +307,12 @@
            • - Flux Overview + Flux Overview
            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
            • diff --git a/docs/shallow-compare-zh-CN.html b/docs/shallow-compare-zh-CN.html index f76cb03aae..620f173f22 100644 --- a/docs/shallow-compare-zh-CN.html +++ b/docs/shallow-compare-zh-CN.html @@ -102,12 +102,12 @@
            • - Complementary Tools + Complementary Tools
            • - Examples + Examples
            • @@ -307,12 +307,12 @@
              • - Flux Overview + Flux Overview
              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
              • diff --git a/docs/shallow-compare.html b/docs/shallow-compare.html index 3669711a43..4ee65df30a 100644 --- a/docs/shallow-compare.html +++ b/docs/shallow-compare.html @@ -102,12 +102,12 @@
              • - Complementary Tools + Complementary Tools
              • - Examples + Examples
              • @@ -307,12 +307,12 @@
                • - Flux Overview + Flux Overview
                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                • diff --git a/docs/special-non-dom-attributes-it-IT.html b/docs/special-non-dom-attributes-it-IT.html index 19bec0c083..80bd41c872 100644 --- a/docs/special-non-dom-attributes-it-IT.html +++ b/docs/special-non-dom-attributes-it-IT.html @@ -102,12 +102,12 @@
                • - Complementary Tools + Complementary Tools
                • - Examples + Examples
                • @@ -307,12 +307,12 @@
                  • - Flux Overview + Flux Overview
                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                  • diff --git a/docs/special-non-dom-attributes-ko-KR.html b/docs/special-non-dom-attributes-ko-KR.html index ce6609eaca..6c4844ca31 100644 --- a/docs/special-non-dom-attributes-ko-KR.html +++ b/docs/special-non-dom-attributes-ko-KR.html @@ -102,12 +102,12 @@
                  • - Complementary Tools + Complementary Tools
                  • - Examples + Examples
                  • @@ -307,12 +307,12 @@
                    • - Flux Overview + Flux Overview
                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                    • diff --git a/docs/special-non-dom-attributes-zh-CN.html b/docs/special-non-dom-attributes-zh-CN.html index 8d5e19ef17..536c68cd64 100644 --- a/docs/special-non-dom-attributes-zh-CN.html +++ b/docs/special-non-dom-attributes-zh-CN.html @@ -102,12 +102,12 @@
                    • - Complementary Tools + Complementary Tools
                    • - Examples + Examples
                    • @@ -307,12 +307,12 @@
                      • - Flux Overview + Flux Overview
                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                      • diff --git a/docs/special-non-dom-attributes.html b/docs/special-non-dom-attributes.html index e55d3aba25..df1c1eb121 100644 --- a/docs/special-non-dom-attributes.html +++ b/docs/special-non-dom-attributes.html @@ -102,12 +102,12 @@
                      • - Complementary Tools + Complementary Tools
                      • - Examples + Examples
                      • @@ -307,12 +307,12 @@
                        • - Flux Overview + Flux Overview
                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                        • diff --git a/docs/tags-and-attributes-it-IT.html b/docs/tags-and-attributes-it-IT.html index 28d6594300..931c51b020 100644 --- a/docs/tags-and-attributes-it-IT.html +++ b/docs/tags-and-attributes-it-IT.html @@ -102,12 +102,12 @@
                        • - Complementary Tools + Complementary Tools
                        • - Examples + Examples
                        • @@ -307,12 +307,12 @@
                          • - Flux Overview + Flux Overview
                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                          • diff --git a/docs/tags-and-attributes-ko-KR.html b/docs/tags-and-attributes-ko-KR.html index f3fb1dc074..a46ef98d4f 100644 --- a/docs/tags-and-attributes-ko-KR.html +++ b/docs/tags-and-attributes-ko-KR.html @@ -102,12 +102,12 @@
                          • - Complementary Tools + Complementary Tools
                          • - Examples + Examples
                          • @@ -307,12 +307,12 @@
                            • - Flux Overview + Flux Overview
                            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                            • diff --git a/docs/tags-and-attributes-zh-CN.html b/docs/tags-and-attributes-zh-CN.html index 0e6a733e75..f6e1e97970 100644 --- a/docs/tags-and-attributes-zh-CN.html +++ b/docs/tags-and-attributes-zh-CN.html @@ -102,12 +102,12 @@
                            • - Complementary Tools + Complementary Tools
                            • - Examples + Examples
                            • @@ -307,12 +307,12 @@
                              • - Flux Overview + Flux Overview
                              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                              • diff --git a/docs/tags-and-attributes.html b/docs/tags-and-attributes.html index 38caf80a3e..484a247578 100644 --- a/docs/tags-and-attributes.html +++ b/docs/tags-and-attributes.html @@ -102,12 +102,12 @@
                              • - Complementary Tools + Complementary Tools
                              • - Examples + Examples
                              • @@ -307,12 +307,12 @@
                                • - Flux Overview + Flux Overview
                                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                • diff --git a/docs/test-utils-it-IT.html b/docs/test-utils-it-IT.html index a0def4a664..f379943bde 100644 --- a/docs/test-utils-it-IT.html +++ b/docs/test-utils-it-IT.html @@ -102,12 +102,12 @@
                                • - Complementary Tools + Complementary Tools
                                • - Examples + Examples
                                • @@ -307,12 +307,12 @@
                                  • - Flux Overview + Flux Overview
                                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                  • diff --git a/docs/test-utils-ja-JP.html b/docs/test-utils-ja-JP.html index e67c90e683..9c1f1b09f8 100644 --- a/docs/test-utils-ja-JP.html +++ b/docs/test-utils-ja-JP.html @@ -102,12 +102,12 @@
                                  • - Complementary Tools + Complementary Tools
                                  • - Examples + Examples
                                  • @@ -307,12 +307,12 @@
                                    • - Flux Overview + Flux Overview
                                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                    • diff --git a/docs/test-utils-ko-KR.html b/docs/test-utils-ko-KR.html index 1cb19a7d2d..81a558e34e 100644 --- a/docs/test-utils-ko-KR.html +++ b/docs/test-utils-ko-KR.html @@ -102,12 +102,12 @@
                                    • - Complementary Tools + Complementary Tools
                                    • - Examples + Examples
                                    • @@ -307,12 +307,12 @@
                                      • - Flux Overview + Flux Overview
                                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                      • diff --git a/docs/test-utils.html b/docs/test-utils.html index 52ab5449a6..2b8e73153d 100644 --- a/docs/test-utils.html +++ b/docs/test-utils.html @@ -102,12 +102,12 @@
                                      • - Complementary Tools + Complementary Tools
                                      • - Examples + Examples
                                      • @@ -307,12 +307,12 @@
                                        • - Flux Overview + Flux Overview
                                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                        • diff --git a/docs/thinking-in-react-ko-KR.html b/docs/thinking-in-react-ko-KR.html index 4d8f326cbf..3e77326f39 100644 --- a/docs/thinking-in-react-ko-KR.html +++ b/docs/thinking-in-react-ko-KR.html @@ -102,12 +102,12 @@
                                        • - Complementary Tools + Complementary Tools
                                        • - Examples + Examples
                                        • @@ -307,12 +307,12 @@
                                          • - Flux Overview + Flux Overview
                                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                          • diff --git a/docs/thinking-in-react.html b/docs/thinking-in-react.html index af1585e83d..378cebd97d 100644 --- a/docs/thinking-in-react.html +++ b/docs/thinking-in-react.html @@ -102,12 +102,12 @@
                                          • - Complementary Tools + Complementary Tools
                                          • - Examples + Examples
                                          • @@ -307,12 +307,12 @@
                                            • - Flux Overview + Flux Overview
                                            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                            • diff --git a/docs/thinking-in-react.it-IT.html b/docs/thinking-in-react.it-IT.html index 75692ebb80..1bd0cc4a0b 100644 --- a/docs/thinking-in-react.it-IT.html +++ b/docs/thinking-in-react.it-IT.html @@ -102,12 +102,12 @@
                                            • - Complementary Tools + Complementary Tools
                                            • - Examples + Examples
                                            • @@ -307,12 +307,12 @@
                                              • - Flux Overview + Flux Overview
                                              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                              • diff --git a/docs/thinking-in-react.zh-CN.html b/docs/thinking-in-react.zh-CN.html index 53a2f00cf6..b62d901619 100644 --- a/docs/thinking-in-react.zh-CN.html +++ b/docs/thinking-in-react.zh-CN.html @@ -102,12 +102,12 @@
                                              • - Complementary Tools + Complementary Tools
                                              • - Examples + Examples
                                              • @@ -307,12 +307,12 @@
                                                • - Flux Overview + Flux Overview
                                                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                • diff --git a/docs/tooling-integration-it-IT.html b/docs/tooling-integration-it-IT.html index 35edd48e0b..07331f4909 100644 --- a/docs/tooling-integration-it-IT.html +++ b/docs/tooling-integration-it-IT.html @@ -102,12 +102,12 @@
                                                • - Complementary Tools + Complementary Tools
                                                • - Examples + Examples
                                                • @@ -307,12 +307,12 @@
                                                  • - Flux Overview + Flux Overview
                                                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                  • diff --git a/docs/tooling-integration-ja-JP.html b/docs/tooling-integration-ja-JP.html index 16de2f7c45..4d1bb14068 100644 --- a/docs/tooling-integration-ja-JP.html +++ b/docs/tooling-integration-ja-JP.html @@ -102,12 +102,12 @@
                                                  • - Complementary Tools + Complementary Tools
                                                  • - Examples + Examples
                                                  • @@ -307,12 +307,12 @@
                                                    • - Flux Overview + Flux Overview
                                                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                    • diff --git a/docs/tooling-integration-ko-KR.html b/docs/tooling-integration-ko-KR.html index 4515720775..98dd05a976 100644 --- a/docs/tooling-integration-ko-KR.html +++ b/docs/tooling-integration-ko-KR.html @@ -102,12 +102,12 @@
                                                    • - Complementary Tools + Complementary Tools
                                                    • - Examples + Examples
                                                    • @@ -307,12 +307,12 @@
                                                      • - Flux Overview + Flux Overview
                                                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                      • diff --git a/docs/tooling-integration-zh-CN.html b/docs/tooling-integration-zh-CN.html index 21b1054286..1de425ee52 100644 --- a/docs/tooling-integration-zh-CN.html +++ b/docs/tooling-integration-zh-CN.html @@ -102,12 +102,12 @@
                                                      • - Complementary Tools + Complementary Tools
                                                      • - Examples + Examples
                                                      • @@ -307,12 +307,12 @@
                                                        • - Flux Overview + Flux Overview
                                                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                        • diff --git a/docs/tooling-integration.html b/docs/tooling-integration.html index 713d7e83bb..ca149ad709 100644 --- a/docs/tooling-integration.html +++ b/docs/tooling-integration.html @@ -102,12 +102,12 @@
                                                        • - Complementary Tools + Complementary Tools
                                                        • - Examples + Examples
                                                        • @@ -307,12 +307,12 @@
                                                          • - Flux Overview + Flux Overview
                                                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                          • @@ -417,7 +417,7 @@

                                                            Using master #

                                                            We have instructions for building from master in our GitHub repository. We build a tree of CommonJS modules under build/modules which you can drop into any environment or packaging tool that supports CommonJS.

                                                            JSX #

                                                            In-browser JSX Transform #

                                                            -

                                                            If you like using JSX, Babel provides an in-browser ES6 and JSX transformer for development called browser.js that can be included from a babel-core npm release or from CDNJS. Include a <script type="text/babel"> tag to engage the JSX transformer.

                                                            +

                                                            If you like using JSX, Babel 5 provided an in-browser ES6 and JSX transformer for development called browser.js that can be included from CDNJS. Include a <script type="text/babel"> tag to engage the JSX transformer.

                                                            Note:

                                                            diff --git a/docs/top-level-api-it-IT.html b/docs/top-level-api-it-IT.html index bbae700197..a3cb9c79bb 100644 --- a/docs/top-level-api-it-IT.html +++ b/docs/top-level-api-it-IT.html @@ -102,12 +102,12 @@
                                                          • - Complementary Tools + Complementary Tools
                                                          • - Examples + Examples
                                                          • @@ -307,12 +307,12 @@
                                                            • - Flux Overview + Flux Overview
                                                            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                            • diff --git a/docs/top-level-api-ja-JP.html b/docs/top-level-api-ja-JP.html index 413846b051..3635bd10a6 100644 --- a/docs/top-level-api-ja-JP.html +++ b/docs/top-level-api-ja-JP.html @@ -102,12 +102,12 @@
                                                            • - Complementary Tools + Complementary Tools
                                                            • - Examples + Examples
                                                            • @@ -307,12 +307,12 @@
                                                              • - Flux Overview + Flux Overview
                                                              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                              • diff --git a/docs/top-level-api-ko-KR.html b/docs/top-level-api-ko-KR.html index 2d898b5abe..348f28d171 100644 --- a/docs/top-level-api-ko-KR.html +++ b/docs/top-level-api-ko-KR.html @@ -102,12 +102,12 @@
                                                              • - Complementary Tools + Complementary Tools
                                                              • - Examples + Examples
                                                              • @@ -307,12 +307,12 @@
                                                                • - Flux Overview + Flux Overview
                                                                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                • diff --git a/docs/top-level-api-zh-CN.html b/docs/top-level-api-zh-CN.html index e8ee0b73ee..9526cb8b13 100644 --- a/docs/top-level-api-zh-CN.html +++ b/docs/top-level-api-zh-CN.html @@ -102,12 +102,12 @@
                                                                • - Complementary Tools + Complementary Tools
                                                                • - Examples + Examples
                                                                • @@ -307,12 +307,12 @@
                                                                  • - Flux Overview + Flux Overview
                                                                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                  • diff --git a/docs/top-level-api.html b/docs/top-level-api.html index 3cdee6f65f..8c6a2db217 100644 --- a/docs/top-level-api.html +++ b/docs/top-level-api.html @@ -102,12 +102,12 @@
                                                                  • - Complementary Tools + Complementary Tools
                                                                  • - Examples + Examples
                                                                  • @@ -307,12 +307,12 @@
                                                                    • - Flux Overview + Flux Overview
                                                                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                    • diff --git a/docs/transferring-props-it-IT.html b/docs/transferring-props-it-IT.html index 4de2c4a905..fa3a32fe18 100644 --- a/docs/transferring-props-it-IT.html +++ b/docs/transferring-props-it-IT.html @@ -102,12 +102,12 @@
                                                                    • - Complementary Tools + Complementary Tools
                                                                    • - Examples + Examples
                                                                    • @@ -307,12 +307,12 @@
                                                                      • - Flux Overview + Flux Overview
                                                                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                      • diff --git a/docs/transferring-props-ja-JP.html b/docs/transferring-props-ja-JP.html index d1f4f24ce4..c0490f44c3 100644 --- a/docs/transferring-props-ja-JP.html +++ b/docs/transferring-props-ja-JP.html @@ -102,12 +102,12 @@
                                                                      • - Complementary Tools + Complementary Tools
                                                                      • - Examples + Examples
                                                                      • @@ -307,12 +307,12 @@
                                                                        • - Flux Overview + Flux Overview
                                                                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                        • diff --git a/docs/transferring-props-ko-KR.html b/docs/transferring-props-ko-KR.html index d8cd90244f..878048aa01 100644 --- a/docs/transferring-props-ko-KR.html +++ b/docs/transferring-props-ko-KR.html @@ -102,12 +102,12 @@
                                                                        • - Complementary Tools + Complementary Tools
                                                                        • - Examples + Examples
                                                                        • @@ -307,12 +307,12 @@
                                                                          • - Flux Overview + Flux Overview
                                                                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                          • diff --git a/docs/transferring-props-zh-CN.html b/docs/transferring-props-zh-CN.html index 186e01b949..91be52ed5a 100644 --- a/docs/transferring-props-zh-CN.html +++ b/docs/transferring-props-zh-CN.html @@ -102,12 +102,12 @@
                                                                          • - Complementary Tools + Complementary Tools
                                                                          • - Examples + Examples
                                                                          • @@ -307,12 +307,12 @@
                                                                            • - Flux Overview + Flux Overview
                                                                            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                            • diff --git a/docs/transferring-props.html b/docs/transferring-props.html index 3a54eff047..18508d3e67 100644 --- a/docs/transferring-props.html +++ b/docs/transferring-props.html @@ -102,12 +102,12 @@
                                                                            • - Complementary Tools + Complementary Tools
                                                                            • - Examples + Examples
                                                                            • @@ -307,12 +307,12 @@
                                                                              • - Flux Overview + Flux Overview
                                                                              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                              • diff --git a/docs/tutorial-ja-JP.html b/docs/tutorial-ja-JP.html index 78b1902e48..6e3fa0fe2c 100644 --- a/docs/tutorial-ja-JP.html +++ b/docs/tutorial-ja-JP.html @@ -102,12 +102,12 @@
                                                                              • - Complementary Tools + Complementary Tools
                                                                              • - Examples + Examples
                                                                              • @@ -307,12 +307,12 @@
                                                                                • - Flux Overview + Flux Overview
                                                                                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                • diff --git a/docs/tutorial-ko-KR.html b/docs/tutorial-ko-KR.html index 612c3279b5..2c61f18562 100644 --- a/docs/tutorial-ko-KR.html +++ b/docs/tutorial-ko-KR.html @@ -102,12 +102,12 @@
                                                                                • - Complementary Tools + Complementary Tools
                                                                                • - Examples + Examples
                                                                                • @@ -307,12 +307,12 @@
                                                                                  • - Flux Overview + Flux Overview
                                                                                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                  • diff --git a/docs/tutorial.html b/docs/tutorial.html index d0071af1b7..b41906c963 100644 --- a/docs/tutorial.html +++ b/docs/tutorial.html @@ -102,12 +102,12 @@
                                                                                  • - Complementary Tools + Complementary Tools
                                                                                  • - Examples + Examples
                                                                                  • @@ -307,12 +307,12 @@
                                                                                    • - Flux Overview + Flux Overview
                                                                                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                    • diff --git a/docs/tutorial.it-IT.html b/docs/tutorial.it-IT.html index 63df966c7c..110a13f9cd 100644 --- a/docs/tutorial.it-IT.html +++ b/docs/tutorial.it-IT.html @@ -102,12 +102,12 @@
                                                                                    • - Complementary Tools + Complementary Tools
                                                                                    • - Examples + Examples
                                                                                    • @@ -307,12 +307,12 @@
                                                                                      • - Flux Overview + Flux Overview
                                                                                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                      • diff --git a/docs/tutorial.zh-CN.html b/docs/tutorial.zh-CN.html index a0674ed21e..582ff3cce7 100644 --- a/docs/tutorial.zh-CN.html +++ b/docs/tutorial.zh-CN.html @@ -102,12 +102,12 @@
                                                                                      • - Complementary Tools + Complementary Tools
                                                                                      • - Examples + Examples
                                                                                      • @@ -307,12 +307,12 @@
                                                                                        • - Flux Overview + Flux Overview
                                                                                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                        • diff --git a/docs/two-way-binding-helpers-it-IT.html b/docs/two-way-binding-helpers-it-IT.html index 860de2db37..41749d8cd4 100644 --- a/docs/two-way-binding-helpers-it-IT.html +++ b/docs/two-way-binding-helpers-it-IT.html @@ -102,12 +102,12 @@
                                                                                        • - Complementary Tools + Complementary Tools
                                                                                        • - Examples + Examples
                                                                                        • @@ -307,12 +307,12 @@
                                                                                          • - Flux Overview + Flux Overview
                                                                                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                          • diff --git a/docs/two-way-binding-helpers-ja-JP.html b/docs/two-way-binding-helpers-ja-JP.html index 78e351280e..32888ab736 100644 --- a/docs/two-way-binding-helpers-ja-JP.html +++ b/docs/two-way-binding-helpers-ja-JP.html @@ -102,12 +102,12 @@
                                                                                          • - Complementary Tools + Complementary Tools
                                                                                          • - Examples + Examples
                                                                                          • @@ -307,12 +307,12 @@
                                                                                            • - Flux Overview + Flux Overview
                                                                                            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                            • diff --git a/docs/two-way-binding-helpers-ko-KR.html b/docs/two-way-binding-helpers-ko-KR.html index c489edd014..88ee9f830e 100644 --- a/docs/two-way-binding-helpers-ko-KR.html +++ b/docs/two-way-binding-helpers-ko-KR.html @@ -102,12 +102,12 @@
                                                                                            • - Complementary Tools + Complementary Tools
                                                                                            • - Examples + Examples
                                                                                            • @@ -307,12 +307,12 @@
                                                                                              • - Flux Overview + Flux Overview
                                                                                              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                              • diff --git a/docs/two-way-binding-helpers-zh-CN.html b/docs/two-way-binding-helpers-zh-CN.html index 128e3f3759..37e8a0c9fb 100644 --- a/docs/two-way-binding-helpers-zh-CN.html +++ b/docs/two-way-binding-helpers-zh-CN.html @@ -102,12 +102,12 @@
                                                                                              • - Complementary Tools + Complementary Tools
                                                                                              • - Examples + Examples
                                                                                              • @@ -307,12 +307,12 @@
                                                                                                • - Flux Overview + Flux Overview
                                                                                                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                • diff --git a/docs/two-way-binding-helpers.html b/docs/two-way-binding-helpers.html index 7b4bfee320..b2d07b9244 100644 --- a/docs/two-way-binding-helpers.html +++ b/docs/two-way-binding-helpers.html @@ -102,12 +102,12 @@
                                                                                                • - Complementary Tools + Complementary Tools
                                                                                                • - Examples + Examples
                                                                                                • @@ -307,12 +307,12 @@
                                                                                                  • - Flux Overview + Flux Overview
                                                                                                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                  • diff --git a/docs/update-it-IT.html b/docs/update-it-IT.html index d00f5665ba..5f869297d5 100644 --- a/docs/update-it-IT.html +++ b/docs/update-it-IT.html @@ -102,12 +102,12 @@
                                                                                                  • - Complementary Tools + Complementary Tools
                                                                                                  • - Examples + Examples
                                                                                                  • @@ -307,12 +307,12 @@
                                                                                                    • - Flux Overview + Flux Overview
                                                                                                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                    • diff --git a/docs/update-ja-JP.html b/docs/update-ja-JP.html index 7a455dce8b..ca16a6dc11 100644 --- a/docs/update-ja-JP.html +++ b/docs/update-ja-JP.html @@ -102,12 +102,12 @@
                                                                                                    • - Complementary Tools + Complementary Tools
                                                                                                    • - Examples + Examples
                                                                                                    • @@ -307,12 +307,12 @@
                                                                                                      • - Flux Overview + Flux Overview
                                                                                                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                      • diff --git a/docs/update-ko-KR.html b/docs/update-ko-KR.html index 23e44d216f..1821ea910e 100644 --- a/docs/update-ko-KR.html +++ b/docs/update-ko-KR.html @@ -102,12 +102,12 @@
                                                                                                      • - Complementary Tools + Complementary Tools
                                                                                                      • - Examples + Examples
                                                                                                      • @@ -307,12 +307,12 @@
                                                                                                        • - Flux Overview + Flux Overview
                                                                                                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                        • diff --git a/docs/update.html b/docs/update.html index 05c1ab335e..2fdac23749 100644 --- a/docs/update.html +++ b/docs/update.html @@ -102,12 +102,12 @@
                                                                                                        • - Complementary Tools + Complementary Tools
                                                                                                        • - Examples + Examples
                                                                                                        • @@ -307,12 +307,12 @@
                                                                                                          • - Flux Overview + Flux Overview
                                                                                                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                          • diff --git a/docs/videos-it-IT.html b/docs/videos-it-IT.html index bae22ac1ca..d094414a43 100644 --- a/docs/videos-it-IT.html +++ b/docs/videos-it-IT.html @@ -102,12 +102,12 @@
                                                                                                          • - Complementary Tools + Complementary Tools
                                                                                                          • - Examples + Examples
                                                                                                          • @@ -307,12 +307,12 @@
                                                                                                            • - Flux Overview + Flux Overview
                                                                                                            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                            • diff --git a/docs/videos-ko-KR.html b/docs/videos-ko-KR.html index 14f4ee7560..a3fe399844 100644 --- a/docs/videos-ko-KR.html +++ b/docs/videos-ko-KR.html @@ -102,12 +102,12 @@
                                                                                                            • - Complementary Tools + Complementary Tools
                                                                                                            • - Examples + Examples
                                                                                                            • @@ -307,12 +307,12 @@
                                                                                                              • - Flux Overview + Flux Overview
                                                                                                              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                              • diff --git a/docs/videos-zh-CN.html b/docs/videos-zh-CN.html index b8961318f1..8eff21b325 100644 --- a/docs/videos-zh-CN.html +++ b/docs/videos-zh-CN.html @@ -102,12 +102,12 @@
                                                                                                              • - Complementary Tools + Complementary Tools
                                                                                                              • - Examples + Examples
                                                                                                              • @@ -307,12 +307,12 @@
                                                                                                                • - Flux Overview + Flux Overview
                                                                                                                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                • diff --git a/docs/videos.html b/docs/videos.html index 611868604c..15c34fdf4c 100644 --- a/docs/videos.html +++ b/docs/videos.html @@ -102,12 +102,12 @@
                                                                                                                • - Complementary Tools + Complementary Tools
                                                                                                                • - Examples + Examples
                                                                                                                • @@ -307,12 +307,12 @@
                                                                                                                  • - Flux Overview + Flux Overview
                                                                                                                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                  • diff --git a/docs/webcomponents.html b/docs/webcomponents.html index de60905249..8f51e73cbb 100644 --- a/docs/webcomponents.html +++ b/docs/webcomponents.html @@ -102,12 +102,12 @@
                                                                                                                  • - Complementary Tools + Complementary Tools
                                                                                                                  • - Examples + Examples
                                                                                                                  • @@ -307,12 +307,12 @@
                                                                                                                    • - Flux Overview + Flux Overview
                                                                                                                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                    • diff --git a/docs/why-react-de-DE.html b/docs/why-react-de-DE.html index 064d96592d..630240b0ea 100644 --- a/docs/why-react-de-DE.html +++ b/docs/why-react-de-DE.html @@ -102,12 +102,12 @@
                                                                                                                    • - Complementary Tools + Complementary Tools
                                                                                                                    • - Examples + Examples
                                                                                                                    • @@ -307,12 +307,12 @@
                                                                                                                      • - Flux Overview + Flux Overview
                                                                                                                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                      • diff --git a/docs/why-react-it-IT.html b/docs/why-react-it-IT.html index fe2cdba116..7b9ebb60f1 100644 --- a/docs/why-react-it-IT.html +++ b/docs/why-react-it-IT.html @@ -102,12 +102,12 @@
                                                                                                                      • - Complementary Tools + Complementary Tools
                                                                                                                      • - Examples + Examples
                                                                                                                      • @@ -307,12 +307,12 @@
                                                                                                                        • - Flux Overview + Flux Overview
                                                                                                                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                        • diff --git a/docs/why-react-ja-JP.html b/docs/why-react-ja-JP.html index f3ede1dfef..0f3bc50484 100644 --- a/docs/why-react-ja-JP.html +++ b/docs/why-react-ja-JP.html @@ -102,12 +102,12 @@
                                                                                                                        • - Complementary Tools + Complementary Tools
                                                                                                                        • - Examples + Examples
                                                                                                                        • @@ -307,12 +307,12 @@
                                                                                                                          • - Flux Overview + Flux Overview
                                                                                                                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                          • diff --git a/docs/why-react-ko-KR.html b/docs/why-react-ko-KR.html index b4825fee11..03f86526c6 100644 --- a/docs/why-react-ko-KR.html +++ b/docs/why-react-ko-KR.html @@ -102,12 +102,12 @@
                                                                                                                          • - Complementary Tools + Complementary Tools
                                                                                                                          • - Examples + Examples
                                                                                                                          • @@ -307,12 +307,12 @@
                                                                                                                            • - Flux Overview + Flux Overview
                                                                                                                            • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                            • diff --git a/docs/why-react-zh-CN.html b/docs/why-react-zh-CN.html index ee758ff947..9803249e31 100644 --- a/docs/why-react-zh-CN.html +++ b/docs/why-react-zh-CN.html @@ -102,12 +102,12 @@
                                                                                                                            • - Complementary Tools + Complementary Tools
                                                                                                                            • - Examples + Examples
                                                                                                                            • @@ -307,12 +307,12 @@
                                                                                                                              • - Flux Overview + Flux Overview
                                                                                                                              • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                              • diff --git a/docs/why-react.html b/docs/why-react.html index 62c541e45b..30cb91e6da 100644 --- a/docs/why-react.html +++ b/docs/why-react.html @@ -102,12 +102,12 @@
                                                                                                                              • - Complementary Tools + Complementary Tools
                                                                                                                              • - Examples + Examples
                                                                                                                              • @@ -307,12 +307,12 @@
                                                                                                                                • - Flux Overview + Flux Overview
                                                                                                                                • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                                • diff --git a/docs/working-with-the-browser-it-IT.html b/docs/working-with-the-browser-it-IT.html index 8e38aa8e5f..8d33ca8898 100644 --- a/docs/working-with-the-browser-it-IT.html +++ b/docs/working-with-the-browser-it-IT.html @@ -102,12 +102,12 @@
                                                                                                                                • - Complementary Tools + Complementary Tools
                                                                                                                                • - Examples + Examples
                                                                                                                                • @@ -307,12 +307,12 @@
                                                                                                                                  • - Flux Overview + Flux Overview
                                                                                                                                  • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                                  • diff --git a/docs/working-with-the-browser-ja-JP.html b/docs/working-with-the-browser-ja-JP.html index d6f3368930..41e37740f2 100644 --- a/docs/working-with-the-browser-ja-JP.html +++ b/docs/working-with-the-browser-ja-JP.html @@ -102,12 +102,12 @@
                                                                                                                                  • - Complementary Tools + Complementary Tools
                                                                                                                                  • - Examples + Examples
                                                                                                                                  • @@ -307,12 +307,12 @@
                                                                                                                                    • - Flux Overview + Flux Overview
                                                                                                                                    • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                                    • diff --git a/docs/working-with-the-browser-ko-KR.html b/docs/working-with-the-browser-ko-KR.html index 5876939027..a15934025c 100644 --- a/docs/working-with-the-browser-ko-KR.html +++ b/docs/working-with-the-browser-ko-KR.html @@ -102,12 +102,12 @@
                                                                                                                                    • - Complementary Tools + Complementary Tools
                                                                                                                                    • - Examples + Examples
                                                                                                                                    • @@ -307,12 +307,12 @@
                                                                                                                                      • - Flux Overview + Flux Overview
                                                                                                                                      • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                                      • diff --git a/docs/working-with-the-browser-zh-CN.html b/docs/working-with-the-browser-zh-CN.html index d1b5481bc8..4b2171297c 100644 --- a/docs/working-with-the-browser-zh-CN.html +++ b/docs/working-with-the-browser-zh-CN.html @@ -102,12 +102,12 @@
                                                                                                                                      • - Complementary Tools + Complementary Tools
                                                                                                                                      • - Examples + Examples
                                                                                                                                      • @@ -307,12 +307,12 @@
                                                                                                                                        • - Flux Overview + Flux Overview
                                                                                                                                        • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                                        • diff --git a/docs/working-with-the-browser.html b/docs/working-with-the-browser.html index 468103c560..befb5aa1e9 100644 --- a/docs/working-with-the-browser.html +++ b/docs/working-with-the-browser.html @@ -102,12 +102,12 @@
                                                                                                                                        • - Complementary Tools + Complementary Tools
                                                                                                                                        • - Examples + Examples
                                                                                                                                        • @@ -307,12 +307,12 @@
                                                                                                                                          • - Flux Overview + Flux Overview
                                                                                                                                          • - Flux TodoMVC Tutorial + Flux TodoMVC Tutorial
                                                                                                                                          • diff --git a/feed.xml b/feed.xml index 36f9ff94e1..1719da36a6 100644 --- a/feed.xml +++ b/feed.xml @@ -563,14 +563,17 @@ Minified build for production: <a href="https://fb.me/react-dom-server-0 <div class="highlight"><pre><code class="language-js" data-lang="js"><span class="kr">const</span> <span class="nx">makeCancelable</span> <span class="o">=</span> <span class="p">(</span><span class="nx">promise</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span> <span class="kd">let</span> <span class="nx">hasCanceled_</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span> + <span class="kr">const</span> <span class="nx">wrappedPromise</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">Promise</span><span class="p">((</span><span class="nx">resolve</span><span class="p">,</span> <span class="nx">reject</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span> + <span class="nx">promise</span><span class="p">.</span><span class="nx">then</span><span class="p">((</span><span class="nx">val</span><span class="p">)</span> <span class="o">=&gt;</span> + <span class="nx">hasCanceled_</span> <span class="o">?</span> <span class="nx">reject</span><span class="p">({</span><span class="nx">isCanceled</span><span class="o">:</span> <span class="kc">true</span><span class="p">})</span> <span class="o">:</span> <span class="nx">resolve</span><span class="p">(</span><span class="nx">val</span><span class="p">)</span> + <span class="p">);</span> + <span class="nx">promise</span><span class="p">.</span><span class="k">catch</span><span class="p">((</span><span class="nx">error</span><span class="p">)</span> <span class="o">=&gt;</span> + <span class="nx">hasCanceled_</span> <span class="o">?</span> <span class="nx">reject</span><span class="p">({</span><span class="nx">isCanceled</span><span class="o">:</span> <span class="kc">true</span><span class="p">})</span> <span class="o">:</span> <span class="nx">reject</span><span class="p">(</span><span class="nx">error</span><span class="p">)</span> + <span class="p">);</span> + <span class="p">});</span> + <span class="k">return</span> <span class="p">{</span> - <span class="nx">promise</span><span class="o">:</span> <span class="k">new</span> <span class="nx">Promise</span><span class="p">(</span> - <span class="p">(</span><span class="nx">resolve</span><span class="p">,</span> <span class="nx">reject</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="nx">promise</span> - <span class="p">.</span><span class="nx">then</span><span class="p">(</span><span class="nx">r</span> <span class="o">=&gt;</span> <span class="nx">hasCanceled_</span> - <span class="o">?</span> <span class="nx">reject</span><span class="p">({</span><span class="nx">isCanceled</span><span class="o">:</span> <span class="kc">true</span><span class="p">})</span> - <span class="o">:</span> <span class="nx">resolve</span><span class="p">(</span><span class="nx">r</span><span class="p">)</span> - <span class="p">)</span> - <span class="p">),</span> + <span class="nx">promise</span><span class="o">:</span> <span class="nx">wrappedPromise</span><span class="p">,</span> <span class="nx">cancel</span><span class="p">()</span> <span class="p">{</span> <span class="nx">hasCanceled_</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span> <span class="p">},</span> diff --git a/img/external.png b/img/external.png new file mode 100644 index 0000000000..423ec131b9 Binary files /dev/null and b/img/external.png differ diff --git a/img/external_2x.png b/img/external_2x.png new file mode 100644 index 0000000000..fefbe2c1d9 Binary files /dev/null and b/img/external_2x.png differ diff --git a/js/examples/hello.js b/js/examples/hello.js deleted file mode 100644 index 1867348cf0..0000000000 --- a/js/examples/hello.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var HELLO_COMPONENT = '\nvar HelloMessage = React.createClass({\n render: function() {\n return
                                                                                                                                            Hello {this.props.name}
                                                                                                                                            ;\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: HELLO_COMPONENT }), document.getElementById('helloExample')); \ No newline at end of file diff --git a/js/examples/markdown.js b/js/examples/markdown.js deleted file mode 100644 index e9bad467dc..0000000000 --- a/js/examples/markdown.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var MARKDOWN_COMPONENT = '\nvar MarkdownEditor = React.createClass({\n getInitialState: function() {\n return {value: \'Type some *markdown* here!\'};\n },\n handleChange: function() {\n this.setState({value: this.refs.textarea.value});\n },\n rawMarkup: function() {\n return { __html: marked(this.state.value, {sanitize: true}) };\n },\n render: function() {\n return (\n
                                                                                                                                            \n

                                                                                                                                            Input

                                                                                                                                            \n \n

                                                                                                                                            Output

                                                                                                                                            \n \n
                                                                                                                                            \n );\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: MARKDOWN_COMPONENT }), document.getElementById('markdownExample')); \ No newline at end of file diff --git a/js/examples/timer.js b/js/examples/timer.js deleted file mode 100644 index e4a99f8772..0000000000 --- a/js/examples/timer.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var TIMER_COMPONENT = '\nvar Timer = React.createClass({\n getInitialState: function() {\n return {secondsElapsed: 0};\n },\n tick: function() {\n this.setState({secondsElapsed: this.state.secondsElapsed + 1});\n },\n componentDidMount: function() {\n this.interval = setInterval(this.tick, 1000);\n },\n componentWillUnmount: function() {\n clearInterval(this.interval);\n },\n render: function() {\n return (\n
                                                                                                                                            Seconds Elapsed: {this.state.secondsElapsed}
                                                                                                                                            \n );\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: TIMER_COMPONENT }), document.getElementById('timerExample')); \ No newline at end of file diff --git a/js/examples/todo.js b/js/examples/todo.js deleted file mode 100644 index 7a2d4d8ddb..0000000000 --- a/js/examples/todo.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var TODO_COMPONENT = '\nvar TodoList = React.createClass({\n render: function() {\n var createItem = function(item) {\n return
                                                                                                                                          • {item.text}
                                                                                                                                          • ;\n };\n return
                                                                                                                                              {this.props.items.map(createItem)}
                                                                                                                                            ;\n }\n});\nvar TodoApp = React.createClass({\n getInitialState: function() {\n return {items: [], text: \'\'};\n },\n onChange: function(e) {\n this.setState({text: e.target.value});\n },\n handleSubmit: function(e) {\n e.preventDefault();\n var nextItems = this.state.items.concat([{text: this.state.text, id: Date.now()}]);\n var nextText = \'\';\n this.setState({items: nextItems, text: nextText});\n },\n render: function() {\n return (\n
                                                                                                                                            \n

                                                                                                                                            TODO

                                                                                                                                            \n \n
                                                                                                                                            \n \n \n
                                                                                                                                            \n
                                                                                                                                            \n );\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: TODO_COMPONENT }), document.getElementById('todoExample')); \ No newline at end of file diff --git a/js/html-jsx-lib.js b/js/html-jsx-lib.js deleted file mode 100644 index 9dd55e8e14..0000000000 --- a/js/html-jsx-lib.js +++ /dev/null @@ -1,5 +0,0 @@ -// Ideally it would be nice to just redirect, but Github Pages is very basic and -// lacks that functionality. -'use strict'; - -console.warn('html-jsx-lib.js has moved to http://reactjs.github.io/react-magic/' + 'htmltojsx.min.js. If using React-Magic, you are no longer required to ' + 'link to this file. Please delete its