Files
react/feed.xml
T
2015-11-02 19:57:29 +00:00

822 lines
135 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>React</title>
<description>A JavaScript library for building user interfaces</description>
<link>https://facebook.github.io/react</link>
<atom:link href="https://facebook.github.io/react/feed.xml" rel="self" type="application/rss+xml" />
<item>
<title>React v0.14.2</title>
<description>&lt;p&gt;We have a quick update following the release of 0.14.1 last week. It turns out we broke a couple things in the development build of React when using Internet Explorer. Luckily it was only the development build, so your production applications were unaffected. This release is mostly to address those issues. There is one notable change if consuming React from npm. For the &lt;code&gt;react-dom&lt;/code&gt; package, we moved &lt;code&gt;react&lt;/code&gt; from a regular dependency to a peer dependency. This will impact very few people as these two are typically installed together at the top level, but it will fix some issues with dependencies of installed components also using &lt;code&gt;react&lt;/code&gt; as a peer dependency.&lt;/p&gt;
&lt;p&gt;The release is now available for download:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;React&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-0.14.2.js&quot;&gt;https://fb.me/react-0.14.2.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-0.14.2.min.js&quot;&gt;https://fb.me/react-0.14.2.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React with Add-Ons&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.2.js&quot;&gt;https://fb.me/react-with-addons-0.14.2.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.2.min.js&quot;&gt;https://fb.me/react-with-addons-0.14.2.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React DOM&lt;/strong&gt; (include React in the page before React DOM)&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-dom-0.14.2.js&quot;&gt;https://fb.me/react-dom-0.14.2.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-dom-0.14.2.min.js&quot;&gt;https://fb.me/react-dom-0.14.2.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We&amp;#39;ve also published version &lt;code&gt;0.14.2&lt;/code&gt; of the &lt;code&gt;react&lt;/code&gt;, &lt;code&gt;react-dom&lt;/code&gt;, and addons packages on npm and the &lt;code&gt;react&lt;/code&gt; package on bower.&lt;/p&gt;
&lt;hr&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;changelog&quot;&gt;&lt;/a&gt;Changelog &lt;a class=&quot;hash-link&quot; href=&quot;#changelog&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;react-dom&quot;&gt;&lt;/a&gt;React DOM &lt;a class=&quot;hash-link&quot; href=&quot;#react-dom&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed bug with development build preventing events from firing in some versions of Internet Explorer &amp;amp; Edge&lt;/li&gt;
&lt;li&gt;Fixed bug with development build when using es5-sham in older versions of Internet Explorer&lt;/li&gt;
&lt;li&gt;Added support for &lt;code&gt;integrity&lt;/code&gt; attribute&lt;/li&gt;
&lt;li&gt;Fixed bug resulting in &lt;code&gt;children&lt;/code&gt; prop being coerced to a string for custom elements, which was not the desired behavior.&lt;/li&gt;
&lt;li&gt;Moved &lt;code&gt;react&lt;/code&gt; from &lt;code&gt;dependencies&lt;/code&gt; to &lt;code&gt;peerDependencies&lt;/code&gt; to match expectations and align with &lt;code&gt;react-addons-*&lt;/code&gt; packages&lt;/li&gt;
&lt;/ul&gt;
</description>
<pubDate>2015-11-02T00:00:00-08:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/11/02/react-v0.14.2.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/11/02/react-v0.14.2.html</guid>
</item>
<item>
<title>React v0.14.1</title>
<description>&lt;p&gt;After a couple weeks of having more people use v0.14, we&amp;#39;re ready to ship a patch release addressing a few issues. Thanks to everybody who has reported issues and written patches!&lt;/p&gt;
&lt;p&gt;The release is now available for download:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;React&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-0.14.1.js&quot;&gt;https://fb.me/react-0.14.1.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-0.14.1.min.js&quot;&gt;https://fb.me/react-0.14.1.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React with Add-Ons&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.1.js&quot;&gt;https://fb.me/react-with-addons-0.14.1.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.1.min.js&quot;&gt;https://fb.me/react-with-addons-0.14.1.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React DOM&lt;/strong&gt; (include React in the page before React DOM)&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-dom-0.14.1.js&quot;&gt;https://fb.me/react-dom-0.14.1.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-dom-0.14.1.min.js&quot;&gt;https://fb.me/react-dom-0.14.1.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We&amp;#39;ve also published version &lt;code&gt;0.14.1&lt;/code&gt; of the &lt;code&gt;react&lt;/code&gt;, &lt;code&gt;react-dom&lt;/code&gt;, and addons packages on npm and the &lt;code&gt;react&lt;/code&gt; package on bower.&lt;/p&gt;
&lt;hr&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;changelog&quot;&gt;&lt;/a&gt;Changelog &lt;a class=&quot;hash-link&quot; href=&quot;#changelog&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;react-dom&quot;&gt;&lt;/a&gt;React DOM &lt;a class=&quot;hash-link&quot; href=&quot;#react-dom&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed bug where events wouldn&amp;#39;t fire in old browsers when using React in development mode&lt;/li&gt;
&lt;li&gt;Fixed bug preventing use of &lt;code&gt;dangerouslySetInnerHTML&lt;/code&gt; with Closure Compiler Advanced mode&lt;/li&gt;
&lt;li&gt;Added support for &lt;code&gt;srcLang&lt;/code&gt;, &lt;code&gt;default&lt;/code&gt;, and &lt;code&gt;kind&lt;/code&gt; attributes for &lt;code&gt;&amp;lt;track&amp;gt;&lt;/code&gt; elements&lt;/li&gt;
&lt;li&gt;Added support for &lt;code&gt;color&lt;/code&gt; attribute&lt;/li&gt;
&lt;li&gt;Ensured legacy &lt;code&gt;.props&lt;/code&gt; access on DOM nodes is updated on re-renders&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;react-testutils-add-on&quot;&gt;&lt;/a&gt;React TestUtils Add-on &lt;a class=&quot;hash-link&quot; href=&quot;#react-testutils-add-on&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed &lt;code&gt;scryRenderedDOMComponentsWithClass&lt;/code&gt; so it works with SVG&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;react-csstransitiongroup-add-on&quot;&gt;&lt;/a&gt;React CSSTransitionGroup Add-on &lt;a class=&quot;hash-link&quot; href=&quot;#react-csstransitiongroup-add-on&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fix bug preventing &lt;code&gt;0&lt;/code&gt; to be used as a timeout value&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;react-on-bower&quot;&gt;&lt;/a&gt;React on Bower &lt;a class=&quot;hash-link&quot; href=&quot;#react-on-bower&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added &lt;code&gt;react-dom.js&lt;/code&gt; to &lt;code&gt;main&lt;/code&gt; to improve compatibility with tooling&lt;/li&gt;
&lt;/ul&gt;
</description>
<pubDate>2015-10-28T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/10/28/react-v0.14.1.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/10/28/react-v0.14.1.html</guid>
</item>
<item>
<title>Reactiflux is moving to Discord</title>
<description>&lt;p&gt;TL;DR: Slack decided that Reactiflux had too many members and disabled new invites. Reactiflux is moving to Discord. Join us: &lt;a href=&quot;http://join.reactiflux.com/&quot;&gt;http://join.reactiflux.com&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;what-happened-with-slack&quot;&gt;&lt;/a&gt;What happened with Slack? &lt;a class=&quot;hash-link&quot; href=&quot;#what-happened-with-slack&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A few weeks ago, Reactiflux reached 7,500 members on Slack. Shortly after, Slack decided we were too big and disabled invites. There was no way for new users to join. Many of us were sad and upset. We loved Slack. Our community was built around it.&lt;/p&gt;
&lt;p&gt;We reached out to Slack several times, but their decision was firm. Our large community caused performance issues. Slack wants to focus on building a great product for teams, not necessarily large open communities. Losing focus and building for too many use cases always leads to product bloat, and eventually a decrease in quality.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;so-why-discord&quot;&gt;&lt;/a&gt;So… why Discord? &lt;a class=&quot;hash-link&quot; href=&quot;#so-why-discord&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;After a &lt;a href=&quot;https://github.com/reactiflux/volunteers/issues/25&quot;&gt;long and thorough debate&lt;/a&gt;, Discord quickly emerged as the most promising service. After just a few days, 400 members had joined the Discord server, and many already loved it.&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;easiest-to-join&quot;&gt;&lt;/a&gt;Easiest to join &lt;a class=&quot;hash-link&quot; href=&quot;#easiest-to-join&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Discord is the easiest platform to join. New users can immediately join our conversations without having to create an account. All they need to do is provide a name. No permission granting, no password, no email confirmation.&lt;/p&gt;
&lt;p&gt;This is critically useful for us, and will make Reactiflux even more open and accessible.&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;great-apps&quot;&gt;&lt;/a&gt;Great apps &lt;a class=&quot;hash-link&quot; href=&quot;#great-apps&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Out of all of the services weve tried, Discords apps are by far the most polished. They are well designed, easy to use, and surprisingly fast. In addition to the web app, they have mobile apps on both iOS and Android as well as desktop apps for OS X and Windows, with Linux support coming soon.&lt;/p&gt;
&lt;p&gt;Their desktop apps are built with React and Electron, and their iOS app is built with React Native.&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;moderation-tools&quot;&gt;&lt;/a&gt;Moderation tools &lt;a class=&quot;hash-link&quot; href=&quot;#moderation-tools&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;So far, weve been fortunate not to have to deal with spammers and trolls. As our community continues to grow, that might change. Unsurprisingly, Discord is the only app weve seen with legitimate moderation tools. It was built for gaming communities, after all.&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;great-multiple-server-support&quot;&gt;&lt;/a&gt;Great multiple Server support &lt;a class=&quot;hash-link&quot; href=&quot;#great-multiple-server-support&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Your Discord account works with every Discord server, which is the equivalent of a Slack team. You dont need to create a new account every time you join a new team. You can join new servers in one click, and its very easy to switch between them. Discord messages also work across servers, so your personal conversations are not scoped to a single server.&lt;/p&gt;
&lt;p&gt;Instead of having one huge, crowded Reactiflux server, we can branch off closely related channels into sub-servers. Communities will start overlapping, and it will be easy to interact with non-Reactiflux channels.&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;its-hosted&quot;&gt;&lt;/a&gt;Its hosted &lt;a class=&quot;hash-link&quot; href=&quot;#its-hosted&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Self-hosted apps require maintenance. Were all busy, and we can barely find the time to keep our landing page up to date and running smoothly. More than anything, we need a stable platform, and we dont have the resources to guarantee that right now.&lt;/p&gt;
&lt;p&gt;Its a much safer bet to offload the hosting to Discord, who is already keeping the lights on for all their users.&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;we-like-the-team&quot;&gt;&lt;/a&gt;We like the team &lt;a class=&quot;hash-link&quot; href=&quot;#we-like-the-team&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;And they seem to like us back. They are excited for us to join them, and theyve been very responsive to our feedback and suggestions.&lt;/p&gt;
&lt;p&gt;They implemented code syntax highlighting just a few days after we told them we needed it.&lt;/p&gt;
&lt;p&gt;Discords team has already built a solid suite of apps, and they have shown us how much they care about their users. Were excited to see how they will continue to improve their product.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;and-whats-the-catch&quot;&gt;&lt;/a&gt;And whats the catch? &lt;a class=&quot;hash-link&quot; href=&quot;#and-whats-the-catch&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Choosing the best chat service is subjective. There are a million reasons why Discord &lt;em&gt;might be&lt;/em&gt; a terrible idea. Here are the ones that were most worried about:&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;difficult-channel-management&quot;&gt;&lt;/a&gt;Difficult channel management &lt;a class=&quot;hash-link&quot; href=&quot;#difficult-channel-management&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Channel management seems to be the biggest issue. There is no way to opt out of channels; you can only mute them. And you can only mute channels one by one. There is no way to star channels, and channels can only be sorted on the server level. Each user will see the list of channels in the same order.&lt;/p&gt;
&lt;p&gt;As the number of channels grow, it will be challenging to keep things in order. Branching off sub-servers will help, and we will keep an easily accessible directory of channels across our main server and all of the sub-servers.&lt;/p&gt;
&lt;p&gt;We can build simple tools to make channel lookup easier, and the Discord team is working on improvements that should make this more manageable.&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;no-search&quot;&gt;&lt;/a&gt;No Search &lt;a class=&quot;hash-link&quot; href=&quot;#no-search&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Lack of search is clearly a bummer, but Discord is working on it. Search is coming!&lt;/p&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;firewall&quot;&gt;&lt;/a&gt;Firewall &lt;a class=&quot;hash-link&quot; href=&quot;#firewall&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;A couple of users arent able to access Discord at work since other corporate filters classify it as a gaming application. This sucks, but it seems to be a rare case. So far, it seems only to affect 0.6% of our current community (3/500).&lt;/p&gt;
&lt;p&gt;We hope that these users can get Discord&amp;#39;s domains whitelisted, and well try to find a solution if this is a widespread issue. The Discord team is aware of the issue as well.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;is-discord-going-to-disappear-tomorrow&quot;&gt;&lt;/a&gt;Is Discord going to disappear tomorrow? &lt;a class=&quot;hash-link&quot; href=&quot;#is-discord-going-to-disappear-tomorrow&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Probably not tomorrow. They have 14 people &lt;a href=&quot;https://discordapp.com/company&quot;&gt;full time&lt;/a&gt;, and theyve raised money from some of the best investors in Silicon Valley, including &lt;a href=&quot;http://www.benchmark.com/&quot;&gt;Benchmark&lt;/a&gt; and &lt;a href=&quot;http://www.accel.com/companies/&quot;&gt;Accel&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;By focusing on gaming communities, Discord has differentiated itself from the many other communication apps. Discord is well received and has a rapidly growing user base. They plan to keep their basic offerings free for unlimited users and hope to make money with premium offerings (themes, add-ons, content, and more).&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;join-us&quot;&gt;&lt;/a&gt;Join us! &lt;a class=&quot;hash-link&quot; href=&quot;#join-us&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;More than 500 of us have already migrated to the new Reactiflux. Join us, we&amp;#39;re one click away: &lt;a href=&quot;http://join.reactiflux.com/&quot;&gt;http://join.reactiflux.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: Jordan Hawkers thorough &lt;a href=&quot;http://jhawk.co/team-chat-comparison&quot;&gt;research&lt;/a&gt; made our decision a lot easier.&lt;/em&gt;&lt;/p&gt;
</description>
<pubDate>2015-10-19T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/10/19/reactiflux-is-moving-to-discord.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/10/19/reactiflux-is-moving-to-discord.html</guid>
</item>
<item>
<title>React v0.14</title>
<description>&lt;p&gt;Were happy to announce the release of React 0.14 today! This release has a few major changes, primarily designed to simplify the code you write every day and to better support environments like React Native.&lt;/p&gt;
&lt;p&gt;If you tried the release candidate, thank you your support is invaluable and we&amp;#39;ve fixed a few bugs that you reported.&lt;/p&gt;
&lt;p&gt;As with all of our releases, we consider this version to be stable enough to use in production and recommend that you upgrade in order to take advantage of our latest improvements.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;upgrade-guide&quot;&gt;&lt;/a&gt;Upgrade Guide &lt;a class=&quot;hash-link&quot; href=&quot;#upgrade-guide&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Like always, we have a few breaking changes in this release. We know changes can be painful (the Facebook codebase has over 15,000 React components), so we always try to make changes gradually in order to minimize the pain.&lt;/p&gt;
&lt;p&gt;If your code is free of warnings when running under React 0.13, upgrading should be easy. We have two new small breaking changes that didn&amp;#39;t give a warning in 0.13 (see below). Every new change in 0.14, including the major changes below, is introduced with a runtime warning and will work as before until 0.15, so you don&amp;#39;t have to worry about your app breaking with this upgrade.&lt;/p&gt;
&lt;p&gt;For the two major changes which require significant code changes, we&amp;#39;ve included &lt;a href=&quot;https://github.com/reactjs/react-codemod/blob/master/README.md&quot;&gt;codemod scripts&lt;/a&gt; to help you upgrade your code automatically.&lt;/p&gt;
&lt;p&gt;See the changelog below for more details.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;installation&quot;&gt;&lt;/a&gt;Installation &lt;a class=&quot;hash-link&quot; href=&quot;#installation&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We recommend using React from &lt;code&gt;npm&lt;/code&gt; and using a tool like browserify or webpack to build your code into a single bundle. To install the two packages:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;npm install --save react react-dom&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remember that by default, React runs extra checks and provides helpful warnings in development mode. When deploying your app, set the &lt;code&gt;NODE_ENV&lt;/code&gt; environment variable to &lt;code&gt;production&lt;/code&gt; to use the production build of React which does not include the development warnings and runs significantly faster.&lt;/p&gt;
&lt;p&gt;If you cant use &lt;code&gt;npm&lt;/code&gt; yet, we provide pre-built browser builds for your convenience, which are also available in the &lt;code&gt;react&lt;/code&gt; package on bower.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;React&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-0.14.0.js&quot;&gt;https://fb.me/react-0.14.0.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-0.14.0.min.js&quot;&gt;https://fb.me/react-0.14.0.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React with Add-Ons&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.0.js&quot;&gt;https://fb.me/react-with-addons-0.14.0.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.0.min.js&quot;&gt;https://fb.me/react-with-addons-0.14.0.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React DOM&lt;/strong&gt; (include React in the page before React DOM)&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-dom-0.14.0.js&quot;&gt;https://fb.me/react-dom-0.14.0.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-dom-0.14.0.min.js&quot;&gt;https://fb.me/react-dom-0.14.0.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;changelog&quot;&gt;&lt;/a&gt;Changelog &lt;a class=&quot;hash-link&quot; href=&quot;#changelog&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;major-changes&quot;&gt;&lt;/a&gt;Major changes &lt;a class=&quot;hash-link&quot; href=&quot;#major-changes&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;two-packages-react-and-react-dom&quot;&gt;&lt;/a&gt;Two Packages: React and React DOM &lt;a class=&quot;hash-link&quot; href=&quot;#two-packages-react-and-react-dom&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;As we look at packages like &lt;a href=&quot;https://github.com/facebook/react-native&quot;&gt;react-native&lt;/a&gt;, &lt;a href=&quot;https://github.com/reactjs/react-art&quot;&gt;react-art&lt;/a&gt;, &lt;a href=&quot;https://github.com/Flipboard/react-canvas&quot;&gt;react-canvas&lt;/a&gt;, and &lt;a href=&quot;https://github.com/Izzimach/react-three&quot;&gt;react-three&lt;/a&gt;, it has become clear that the beauty and essence of React has nothing to do with browsers or the DOM.&lt;/p&gt;
&lt;p&gt;To make this more clear and to make it easier to build more environments that React can render to, were splitting the main &lt;code&gt;react&lt;/code&gt; package into two: &lt;code&gt;react&lt;/code&gt; and &lt;code&gt;react-dom&lt;/code&gt;. &lt;strong&gt;This paves the way to writing components that can be shared between the web version of React and React Native.&lt;/strong&gt; We dont expect all the code in an app to be shared, but we want to be able to share the components that do behave the same across platforms.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;react&lt;/code&gt; package contains &lt;code&gt;React.createElement&lt;/code&gt;, &lt;code&gt;.createClass&lt;/code&gt;, &lt;code&gt;.Component&lt;/code&gt;, &lt;code&gt;.PropTypes&lt;/code&gt;, &lt;code&gt;.Children&lt;/code&gt;, and the other helpers related to elements and component classes. We think of these as the &lt;a href=&quot;http://nerds.airbnb.com/isomorphic-javascript-future-web-apps/&quot;&gt;&lt;em&gt;isomorphic&lt;/em&gt;&lt;/a&gt; or &lt;a href=&quot;https://medium.com/@mjackson/universal-javascript-4761051b7ae9&quot;&gt;&lt;em&gt;universal&lt;/em&gt;&lt;/a&gt; helpers that you need to build components.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;react-dom&lt;/code&gt; package has &lt;code&gt;ReactDOM.render&lt;/code&gt;, &lt;code&gt;.unmountComponentAtNode&lt;/code&gt;, and &lt;code&gt;.findDOMNode&lt;/code&gt;. In &lt;code&gt;react-dom/server&lt;/code&gt; we have server-side rendering support with &lt;code&gt;ReactDOMServer.renderToString&lt;/code&gt; and &lt;code&gt;.renderToStaticMarkup&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;React&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;require&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;#39;react&amp;#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;require&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;#39;react-dom&amp;#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;MyComponent&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;React&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;createClass&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Hello&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;World&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/div&amp;gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;MyComponent&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;node&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The old names will continue to work with a warning until 0.15 is released, and weve published the &lt;a href=&quot;https://github.com/reactjs/react-codemod/blob/master/README.md&quot;&gt;automated codemod script&lt;/a&gt; we used at Facebook to help you with this transition.&lt;/p&gt;
&lt;p&gt;The add-ons have moved to separate packages as well:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;react-addons-clone-with-props&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-create-fragment&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-css-transition-group&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-linked-state-mixin&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-perf&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-pure-render-mixin&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-shallow-compare&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-test-utils&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-transition-group&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;react-addons-update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ReactDOM.unstable_batchedUpdates&lt;/code&gt; in &lt;code&gt;react-dom&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For now, please use matching versions of &lt;code&gt;react&lt;/code&gt; and &lt;code&gt;react-dom&lt;/code&gt; (and the add-ons, if you use them) in your apps to avoid versioning problems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;dom-node-refs&quot;&gt;&lt;/a&gt;DOM node refs &lt;a class=&quot;hash-link&quot; href=&quot;#dom-node-refs&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;The other big change were making in this release is exposing refs to DOM components as the DOM node itself. That means: we looked at what you can do with a &lt;code&gt;ref&lt;/code&gt; to a React DOM component and realized that the only useful thing you can do with it is call &lt;code&gt;this.refs.giraffe.getDOMNode()&lt;/code&gt; to get the underlying DOM node. Starting with this release, &lt;code&gt;this.refs.giraffe&lt;/code&gt; &lt;em&gt;is&lt;/em&gt; the actual DOM node. &lt;strong&gt;Note that refs to custom (user-defined) components work exactly as before; only the built-in DOM components are affected by this change.&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Zoo&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;React&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;createClass&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Giraffe&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ref&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;giraffe&amp;quot;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/div&amp;gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;showName&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// Previously: var input = this.refs.giraffe.getDOMNode();&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;refs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;giraffe&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;alert&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This change also applies to the return result of &lt;code&gt;ReactDOM.render&lt;/code&gt; when passing a DOM node as the top component. As with refs, this change does not affect custom components.&lt;/p&gt;
&lt;p&gt;With this change, were deprecating &lt;code&gt;.getDOMNode()&lt;/code&gt; and replacing it with &lt;code&gt;ReactDOM.findDOMNode&lt;/code&gt; (see below). If your components are currently using &lt;code&gt;.getDOMNode()&lt;/code&gt;, they will continue to work with a warning until 0.15.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;stateless-functional-components&quot;&gt;&lt;/a&gt;Stateless functional components &lt;a class=&quot;hash-link&quot; href=&quot;#stateless-functional-components&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;In idiomatic React code, most of the components you write will be stateless, simply composing other components. Were introducing a new, simpler syntax for these components where you can take &lt;code&gt;props&lt;/code&gt; as an argument and return the element you want to render:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;c1&quot;&gt;// A functional component using an ES2015 (ES6) arrow function:&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Aquarium&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;fish&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;getFish&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;species&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Tank&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;fish&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/Tank&amp;gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// Or with destructuring and an implicit return, simply:&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Aquarium&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;species&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;})&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Tank&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getFish&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;species&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)}&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/Tank&amp;gt;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// Then use: &amp;lt;Aquarium species=&amp;quot;rainbowfish&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;These components behave just like a React class with only a &lt;code&gt;render&lt;/code&gt; method defined. Since no component instance is created for a functional component, any &lt;code&gt;ref&lt;/code&gt; added to one will evaluate to &lt;code&gt;null&lt;/code&gt;. Functional components do not have lifecycle methods, but you can set &lt;code&gt;.propTypes&lt;/code&gt; and &lt;code&gt;.defaultProps&lt;/code&gt; as properties on the function.&lt;/p&gt;
&lt;p&gt;This pattern is designed to encourage the creation of these simple components that should comprise large portions of your apps. In the future, well also be able to make performance optimizations specific to these components by avoiding unnecessary checks and memory allocations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;deprecation-of-react-tools&quot;&gt;&lt;/a&gt;Deprecation of react-tools &lt;a class=&quot;hash-link&quot; href=&quot;#deprecation-of-react-tools&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;The &lt;code&gt;react-tools&lt;/code&gt; package and &lt;code&gt;JSXTransformer.js&lt;/code&gt; browser file &lt;a href=&quot;/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html&quot;&gt;have been deprecated&lt;/a&gt;. You can continue using version &lt;code&gt;0.13.3&lt;/code&gt; of both, but we no longer support them and recommend migrating to &lt;a href=&quot;http://babeljs.io/&quot;&gt;Babel&lt;/a&gt;, which has built-in support for React and JSX.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;compiler-optimizations&quot;&gt;&lt;/a&gt;Compiler optimizations &lt;a class=&quot;hash-link&quot; href=&quot;#compiler-optimizations&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;React now supports two compiler optimizations that can be enabled in Babel 5.8.24 and newer. Both of these transforms &lt;strong&gt;should be enabled only in production&lt;/strong&gt; (e.g., just before minifying your code) because although they improve runtime performance, they make warning messages more cryptic and skip important checks that happen in development mode, including propTypes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Inlining React elements:&lt;/strong&gt; The &lt;code&gt;optimisation.react.inlineElements&lt;/code&gt; transform converts JSX elements to object literals like &lt;code&gt;{type: &amp;#39;div&amp;#39;, props: ...}&lt;/code&gt; instead of calls to &lt;code&gt;React.createElement&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Constant hoisting for React elements:&lt;/strong&gt; The &lt;code&gt;optimisation.react.constantElements&lt;/code&gt; transform hoists element creation to the top level for subtrees that are fully static, which reduces calls to &lt;code&gt;React.createElement&lt;/code&gt; and the resulting allocations. More importantly, it tells React that the subtree hasnt changed so React can completely skip it when reconciling.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;breaking-changes&quot;&gt;&lt;/a&gt;Breaking changes &lt;a class=&quot;hash-link&quot; href=&quot;#breaking-changes&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In almost all cases, we change our APIs gradually and warn for at least one release to give you time to clean up your code. These two breaking changes did not have a warning in 0.13 but should be easy to find and clean up:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;React.initializeTouchEvents&lt;/code&gt; is no longer necessary and has been removed completely. Touch events now work automatically.&lt;/li&gt;
&lt;li&gt;Add-Ons: Due to the DOM node refs change mentioned above, &lt;code&gt;TestUtils.findAllInRenderedTree&lt;/code&gt; and related helpers are no longer able to take a DOM component, only a custom component.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These three breaking changes had a warning in 0.13, so you shouldnt have to do anything if your code is already free of warnings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;props&lt;/code&gt; object is now frozen, so mutating props after creating a component element is no longer supported. In most cases, &lt;a href=&quot;/react/docs/top-level-api.html#react.cloneelement&quot;&gt;&lt;code&gt;React.cloneElement&lt;/code&gt;&lt;/a&gt; should be used instead. This change makes your components easier to reason about and enables the compiler optimizations mentioned above.&lt;/li&gt;
&lt;li&gt;Plain objects are no longer supported as React children; arrays should be used instead. You can use the &lt;a href=&quot;/react/docs/create-fragment.html&quot;&gt;&lt;code&gt;createFragment&lt;/code&gt;&lt;/a&gt; helper to migrate, which now returns an array.&lt;/li&gt;
&lt;li&gt;Add-Ons: &lt;code&gt;classSet&lt;/code&gt; has been removed. Use &lt;a href=&quot;https://github.com/JedWatson/classnames&quot;&gt;classnames&lt;/a&gt; instead.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;new-deprecations-introduced-with-a-warning&quot;&gt;&lt;/a&gt;New deprecations, introduced with a warning &lt;a class=&quot;hash-link&quot; href=&quot;#new-deprecations-introduced-with-a-warning&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Each of these changes will continue to work as before with a new warning until the release of 0.15 so you can upgrade your code gradually.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Due to the DOM node refs change mentioned above, &lt;code&gt;this.getDOMNode()&lt;/code&gt; is now deprecated and &lt;code&gt;ReactDOM.findDOMNode(this)&lt;/code&gt; can be used instead. Note that in most cases, calling &lt;code&gt;findDOMNode&lt;/code&gt; is now unnecessary see the example above in the “DOM node refs” section.&lt;/p&gt;
&lt;p&gt;With each returned DOM node, we&amp;#39;ve added a &lt;code&gt;getDOMNode&lt;/code&gt; method for backwards compatibility that will work with a warning until 0.15. If you have a large codebase, you can use our &lt;a href=&quot;https://github.com/reactjs/react-codemod/blob/master/README.md&quot;&gt;automated codemod script&lt;/a&gt; to change your code automatically.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;setProps&lt;/code&gt; and &lt;code&gt;replaceProps&lt;/code&gt; are now deprecated. Instead, call ReactDOM.render again at the top level with the new props.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ES6 component classes must now extend &lt;code&gt;React.Component&lt;/code&gt; in order to enable stateless function components. The &lt;a href=&quot;/react/blog/2015/01/27/react-v0.13.0-beta-1.html#other-languages&quot;&gt;ES3 module pattern&lt;/a&gt; will continue to work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Reusing and mutating a &lt;code&gt;style&lt;/code&gt; object between renders has been deprecated. This mirrors our change to freeze the &lt;code&gt;props&lt;/code&gt; object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add-Ons: &lt;code&gt;cloneWithProps&lt;/code&gt; is now deprecated. Use &lt;a href=&quot;/react/docs/top-level-api.html#react.cloneelement&quot;&gt;&lt;code&gt;React.cloneElement&lt;/code&gt;&lt;/a&gt; instead (unlike &lt;code&gt;cloneWithProps&lt;/code&gt;, &lt;code&gt;cloneElement&lt;/code&gt; does not merge &lt;code&gt;className&lt;/code&gt; or &lt;code&gt;style&lt;/code&gt; automatically; you can merge them manually if needed).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add-Ons: To improve reliability, &lt;code&gt;CSSTransitionGroup&lt;/code&gt; will no longer listen to transition events. Instead, you should specify transition durations manually using props such as &lt;code&gt;transitionEnterTimeout={500}&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;notable-enhancements&quot;&gt;&lt;/a&gt;Notable enhancements &lt;a class=&quot;hash-link&quot; href=&quot;#notable-enhancements&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added &lt;code&gt;React.Children.toArray&lt;/code&gt; which takes a nested children object and returns a flat array with keys assigned to each child. This helper makes it easier to manipulate collections of children in your &lt;code&gt;render&lt;/code&gt; methods, especially if you want to reorder or slice &lt;code&gt;this.props.children&lt;/code&gt; before passing it down. In addition, &lt;code&gt;React.Children.map&lt;/code&gt; now returns plain arrays too.&lt;/li&gt;
&lt;li&gt;React uses &lt;code&gt;console.error&lt;/code&gt; instead of &lt;code&gt;console.warn&lt;/code&gt; for warnings so that browsers show a full stack trace in the console. (Our warnings appear when you use patterns that will break in future releases and for code that is likely to behave unexpectedly, so we do consider our warnings to be “must-fix” errors.)&lt;/li&gt;
&lt;li&gt;Previously, including untrusted objects as React children &lt;a href=&quot;http://danlec.com/blog/xss-via-a-spoofed-react-element&quot;&gt;could result in an XSS security vulnerability&lt;/a&gt;. This problem should be avoided by properly validating input at the application layer and by never passing untrusted objects around your application code. As an additional layer of protection, &lt;a href=&quot;https://github.com/facebook/react/pull/4832&quot;&gt;React now tags elements&lt;/a&gt; with a specific &lt;a href=&quot;http://www.2ality.com/2014/12/es6-symbols.html&quot;&gt;ES2015 (ES6) &lt;code&gt;Symbol&lt;/code&gt;&lt;/a&gt; in browsers that support it, in order to ensure that React never considers untrusted JSON to be a valid element. If this extra security protection is important to you, you should add a &lt;code&gt;Symbol&lt;/code&gt; polyfill for older browsers, such as the one included by &lt;a href=&quot;http://babeljs.io/docs/usage/polyfill/&quot;&gt;Babels polyfill&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;When possible, React DOM now generates XHTML-compatible markup.&lt;/li&gt;
&lt;li&gt;React DOM now supports these standard HTML attributes: &lt;code&gt;capture&lt;/code&gt;, &lt;code&gt;challenge&lt;/code&gt;, &lt;code&gt;inputMode&lt;/code&gt;, &lt;code&gt;is&lt;/code&gt;, &lt;code&gt;keyParams&lt;/code&gt;, &lt;code&gt;keyType&lt;/code&gt;, &lt;code&gt;minLength&lt;/code&gt;, &lt;code&gt;summary&lt;/code&gt;, &lt;code&gt;wrap&lt;/code&gt;. It also now supports these non-standard attributes: &lt;code&gt;autoSave&lt;/code&gt;, &lt;code&gt;results&lt;/code&gt;, &lt;code&gt;security&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;React DOM now supports these SVG attributes, which render into namespaced attributes: &lt;code&gt;xlinkActuate&lt;/code&gt;, &lt;code&gt;xlinkArcrole&lt;/code&gt;, &lt;code&gt;xlinkHref&lt;/code&gt;, &lt;code&gt;xlinkRole&lt;/code&gt;, &lt;code&gt;xlinkShow&lt;/code&gt;, &lt;code&gt;xlinkTitle&lt;/code&gt;, &lt;code&gt;xlinkType&lt;/code&gt;, &lt;code&gt;xmlBase&lt;/code&gt;, &lt;code&gt;xmlLang&lt;/code&gt;, &lt;code&gt;xmlSpace&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;image&lt;/code&gt; SVG tag is now supported by React DOM.&lt;/li&gt;
&lt;li&gt;In React DOM, arbitrary attributes are supported on custom elements (those with a hyphen in the tag name or an &lt;code&gt;is=&amp;quot;...&amp;quot;&lt;/code&gt; attribute).&lt;/li&gt;
&lt;li&gt;React DOM now supports these media events on &lt;code&gt;audio&lt;/code&gt; and &lt;code&gt;video&lt;/code&gt; tags: &lt;code&gt;onAbort&lt;/code&gt;, &lt;code&gt;onCanPlay&lt;/code&gt;, &lt;code&gt;onCanPlayThrough&lt;/code&gt;, &lt;code&gt;onDurationChange&lt;/code&gt;, &lt;code&gt;onEmptied&lt;/code&gt;, &lt;code&gt;onEncrypted&lt;/code&gt;, &lt;code&gt;onEnded&lt;/code&gt;, &lt;code&gt;onError&lt;/code&gt;, &lt;code&gt;onLoadedData&lt;/code&gt;, &lt;code&gt;onLoadedMetadata&lt;/code&gt;, &lt;code&gt;onLoadStart&lt;/code&gt;, &lt;code&gt;onPause&lt;/code&gt;, &lt;code&gt;onPlay&lt;/code&gt;, &lt;code&gt;onPlaying&lt;/code&gt;, &lt;code&gt;onProgress&lt;/code&gt;, &lt;code&gt;onRateChange&lt;/code&gt;, &lt;code&gt;onSeeked&lt;/code&gt;, &lt;code&gt;onSeeking&lt;/code&gt;, &lt;code&gt;onStalled&lt;/code&gt;, &lt;code&gt;onSuspend&lt;/code&gt;, &lt;code&gt;onTimeUpdate&lt;/code&gt;, &lt;code&gt;onVolumeChange&lt;/code&gt;, &lt;code&gt;onWaiting&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Many small performance improvements have been made.&lt;/li&gt;
&lt;li&gt;Many warnings show more context than before.&lt;/li&gt;
&lt;li&gt;Add-Ons: A &lt;a href=&quot;https://github.com/facebook/react/pull/3355&quot;&gt;&lt;code&gt;shallowCompare&lt;/code&gt;&lt;/a&gt; add-on has been added as a migration path for &lt;code&gt;PureRenderMixin&lt;/code&gt; in ES6 classes.&lt;/li&gt;
&lt;li&gt;Add-Ons: &lt;code&gt;CSSTransitionGroup&lt;/code&gt; can now use &lt;a href=&quot;https://github.com/facebook/react/blob/48942b85/docs/docs/10.1-animation.md#custom-classes&quot;&gt;custom class names&lt;/a&gt; instead of appending &lt;code&gt;-enter-active&lt;/code&gt; or similar to the transition name.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;new-helpful-warnings&quot;&gt;&lt;/a&gt;New helpful warnings &lt;a class=&quot;hash-link&quot; href=&quot;#new-helpful-warnings&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;React DOM now warns you when nesting HTML elements invalidly, which helps you avoid surprising errors during updates.&lt;/li&gt;
&lt;li&gt;Passing &lt;code&gt;document.body&lt;/code&gt; directly as the container to &lt;code&gt;ReactDOM.render&lt;/code&gt; now gives a warning as doing so can cause problems with browser extensions that modify the DOM.&lt;/li&gt;
&lt;li&gt;Using multiple instances of React together is not supported, so we now warn when we detect this case to help you avoid running into the resulting problems.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;notable-bug-fixes&quot;&gt;&lt;/a&gt;Notable bug fixes &lt;a class=&quot;hash-link&quot; href=&quot;#notable-bug-fixes&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Click events are handled by React DOM more reliably in mobile browsers, particularly in Mobile Safari.&lt;/li&gt;
&lt;li&gt;SVG elements are created with the correct namespace in more cases.&lt;/li&gt;
&lt;li&gt;React DOM now renders &lt;code&gt;&amp;lt;option&amp;gt;&lt;/code&gt; elements with multiple text children properly and renders &lt;code&gt;&amp;lt;select&amp;gt;&lt;/code&gt; elements on the server with the correct option selected.&lt;/li&gt;
&lt;li&gt;When two separate copies of React add nodes to the same document (including when a browser extension uses React), React DOM tries harder not to throw exceptions during event handling.&lt;/li&gt;
&lt;li&gt;Using non-lowercase HTML tag names in React DOM (e.g., &lt;code&gt;React.createElement(&amp;#39;DIV&amp;#39;)&lt;/code&gt;) no longer causes problems, though we continue to recommend lowercase for consistency with the JSX tag name convention (lowercase names refer to built-in components, capitalized names refer to custom components).&lt;/li&gt;
&lt;li&gt;React DOM understands that these CSS properties are unitless and does not append “px” to their values: &lt;code&gt;animationIterationCount&lt;/code&gt;, &lt;code&gt;boxOrdinalGroup&lt;/code&gt;, &lt;code&gt;flexOrder&lt;/code&gt;, &lt;code&gt;tabSize&lt;/code&gt;, &lt;code&gt;stopOpacity&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add-Ons: When using the test utils, &lt;code&gt;Simulate.mouseEnter&lt;/code&gt; and &lt;code&gt;Simulate.mouseLeave&lt;/code&gt; now work.&lt;/li&gt;
&lt;li&gt;Add-Ons: ReactTransitionGroup now correctly handles multiple nodes being removed simultaneously.&lt;/li&gt;
&lt;/ul&gt;
</description>
<pubDate>2015-10-07T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html</guid>
</item>
<item>
<title>ReactDOM.render and the Top Level React API</title>
<description>&lt;p&gt;When you&amp;#39;re in React&amp;#39;s world you are just building components that fit into other components. Everything is a component. Unfortunately not everything around you is built using React. At the root of your tree you still have to write some plumbing code to connect the outer world into React.&lt;/p&gt;
&lt;p&gt;The primary API for rendering into the DOM looks like this:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;reactElement&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;domContainerNode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;To update the properties of an existing component, you call render again with a new element.&lt;/p&gt;
&lt;p&gt;If you are rendering React components within a single-page app, you may need to plug into the app&amp;#39;s view lifecycle to ensure your app will invoke unmountComponentAtNode at the appropriate time. React will not automatically clean up a tree. You need to manually call:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unmountComponentAtNode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;domContainerNode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This is important and often forgotten. Forgetting to call &lt;code&gt;unmountComponentAtNode&lt;/code&gt; will cause your app to leak memory. There is no way for us to automatically detect when it is appropriate to do this work. Every system is different.&lt;/p&gt;
&lt;p&gt;It is not unique to the DOM. If you want to insert a React Native view in the middle of an existing iOS app you will hit similar issues.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;helpers&quot;&gt;&lt;/a&gt;Helpers &lt;a class=&quot;hash-link&quot; href=&quot;#helpers&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If you have multiple React roots, or a single root that gets deleted over time, we recommend that you always create your own wrapper API. These will all look slightly different depending on what your outer system looks like. For example, at Facebook we have a system that automatically ties into our page transition router to automatically call &lt;code&gt;unmountComponentAtNode&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Rather than calling &lt;code&gt;ReactDOM.render()&lt;/code&gt; directly everywhere, consider writing/using a library that will manage mounting and unmounting within your application.&lt;/p&gt;
&lt;p&gt;In your environment you may want to always configure internationalization, routers, user data etc. If you have many different React roots it can be a pain to set up configuration nodes all over the place. By creating your own wrapper you can unify that configuration into one place.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;object-oriented-updates&quot;&gt;&lt;/a&gt;Object Oriented Updates &lt;a class=&quot;hash-link&quot; href=&quot;#object-oriented-updates&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If you call &lt;code&gt;ReactDOM.render&lt;/code&gt; a second time to update properties, all your props are completely replaced.&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;App&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;locale&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;en-US&amp;quot;&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;userID&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// props.userID == 1&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// props.locale == &amp;quot;en-US&amp;quot;&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;App&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;userID&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// props.userID == 2&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// props.locale == undefined ??!?&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;In object-oriented programming, all state lives on each object instance and you apply changes incrementally by mutating that state, one piece at a time. If you are using React within an app that expects an object oriented API (for instance, if you are building a custom web component using React), it might be surprising/confusing to a user that setting a single property would wipe out all the other properties on your component.&lt;/p&gt;
&lt;p&gt;We used to have a helper function called &lt;code&gt;setProps&lt;/code&gt; which allowed you to update only a few properties at a time. Unfortunately this API lived on a component instance, required React to keep this state internally and wasn&amp;#39;t very natural anyway. Therefore, we&amp;#39;re deprecating it and suggest that you build it into your own wrapper instead.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s some boilerplate to get you started. It is a 0.14 migration path for codebases using &lt;code&gt;setProps&lt;/code&gt; and &lt;code&gt;replaceProps&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;kr&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ReactComponentRenderer&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;constructor&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;klass&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;klass&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;klass&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{};&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;component&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;replaceProps&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{};&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;setProps&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;setProps&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;partialProps&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;klass&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;warn&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;s1&quot;&gt;&amp;#39;setProps(...): Can only update a mounted or &amp;#39;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;
&lt;span class=&quot;s1&quot;&gt;&amp;#39;mounting component. This usually means you called setProps() on &amp;#39;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;
&lt;span class=&quot;s1&quot;&gt;&amp;#39;an unmounted component. This is a no-op.&amp;#39;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;assign&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;partialProps&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;element&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;React&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;createElement&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;klass&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;component&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;element&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;unmount&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unmountComponentAtNode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;klass&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Object-oriented APIs don&amp;#39;t look like that though. They use setters and methods. I think we can do better. If you know more about the component API that you&amp;#39;re rendering, you can create a more natural object-oriented API around your React component.&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;kr&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ReactVideoPlayer&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;constructor&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_container&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_url&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_isPlaying&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;_render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;VideoPlayer&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;playing&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_isPlaying&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_container&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;get&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_url&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;play&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_isPlaying&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;pause&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_isPlaying&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;destroy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unmountComponentAtNode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_container&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This example shows how to provide an imperative API on top of a declarative one. Similarly, the reverse can be done, and a declarative wrapper can be used when exposing a Web Component as a React component.&lt;/p&gt;
</description>
<pubDate>2015-10-01T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/10/01/react-render-and-top-level-api.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/10/01/react-render-and-top-level-api.html</guid>
</item>
<item>
<title>Community Round-up #27 &amp;ndash; Relay Edition</title>
<description>&lt;p&gt;In the weeks following the &lt;a href=&quot;/react/blog/2015/08/11/relay-technical-preview.html&quot;&gt;open-source release&lt;/a&gt; of the Relay technical preview, the community has been abuzz with activity. We are honored to have been able to enjoy a steady stream of ideas and contributions from such a talented group of individuals. Let&amp;#39;s take a look at some of the things we&amp;#39;ve achieved, together!&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;teaching-servers-to-speak-graphql&quot;&gt;&lt;/a&gt;Teaching servers to speak GraphQL &lt;a class=&quot;hash-link&quot; href=&quot;#teaching-servers-to-speak-graphql&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Every great Relay app starts by finding a GraphQL server to talk to. The community has spent the past few weeks teaching GraphQL to a few backend systems.&lt;/p&gt;
&lt;p&gt;Bryan Goldstein (&lt;a href=&quot;https://github.com/brysgo&quot;&gt;brysgo&lt;/a&gt;) has built a tool to help you define a GraphQL schema that wraps a set of &lt;a href=&quot;http://bookshelfjs.org/&quot;&gt;Bookshelf.JS&lt;/a&gt; models. Check out &lt;a href=&quot;https://github.com/brysgo/graphql-bookshelf&quot;&gt;graphql-bookshelf&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;RisingStack (&lt;a href=&quot;https://github.com/risingstack&quot;&gt;risingstack&lt;/a&gt;) created a GraphQL ORM called &lt;a href=&quot;https://github.com/RisingStack/graffiti&quot;&gt;graffiti&lt;/a&gt; that you can plug into &lt;a href=&quot;http://mongoosejs.com/&quot;&gt;mongoose&lt;/a&gt; and serve using Express, Hapi, or Koa.&lt;/p&gt;
&lt;p&gt;David Mongeau-Petitpas (&lt;a href=&quot;https://github.com/dmongeau&quot;&gt;dmongeau&lt;/a&gt;) is working on a way to vend your Laravel models through a GraphQL endpoint, &lt;a href=&quot;https://github.com/Folkloreatelier/laravel-graphql&quot;&gt;laravel-graphql&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Gerald Monaco (&lt;a href=&quot;https://github.com/devknoll&quot;&gt;devknoll&lt;/a&gt;) created &lt;a href=&quot;https://github.com/devknoll/graphql-schema&quot;&gt;graphql-schema&lt;/a&gt; to allow the creation of JavaScript GraphQL schemas using a fluent/chainable interface.&lt;/p&gt;
&lt;p&gt;Jason Dusek (&lt;a href=&quot;https://github.com/solidsnack&quot;&gt;solidsnack&lt;/a&gt;) dove deep into PostgreSQL to teach it how to respond to GraphQL query strings as though they were SQL queries. Check out &lt;a href=&quot;https://github.com/solidsnack/GraphpostgresQL&quot;&gt;GraphpostgresQL&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Espen Hovlandsdal (&lt;a href=&quot;https://github.com/rexxars&quot;&gt;rexxars&lt;/a&gt;) built a &lt;a href=&quot;https://github.com/vaffel/sql-to-graphql&quot;&gt;sql-to-graphql&lt;/a&gt; tool that can perform introspection on the tables of a MySQL or PostgreSQL database, and produce a queryable HTTP GraphQL endpoint out of it.&lt;/p&gt;
&lt;p&gt;Mick Hansen (&lt;a href=&quot;https://github.com/mickhansen&quot;&gt;mickhansen&lt;/a&gt;) offers a set of &lt;a href=&quot;https://github.com/mickhansen/graphql-sequelize&quot;&gt;schema-building helpers&lt;/a&gt; for use with the &lt;a href=&quot;http://docs.sequelizejs.com/en/latest/&quot;&gt;Sequelize ORM&lt;/a&gt; for MySQL, PostgreSQL, SQLite, and MSSQL.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;graphql-beyond-javascript&quot;&gt;&lt;/a&gt;GraphQL beyond JavaScript &lt;a class=&quot;hash-link&quot; href=&quot;#graphql-beyond-javascript&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Robert Mosolgo (&lt;a href=&quot;https://github.com/rmosolgo&quot;&gt;rmosolgo&lt;/a&gt;) brought the full set of schema-building and query execution tools to Ruby, in the form of &lt;a href=&quot;https://github.com/rmosolgo/graphql-ruby&quot;&gt;graphql-ruby&lt;/a&gt; and &lt;a href=&quot;https://github.com/rmosolgo/graphql-relay-ruby&quot;&gt;graphql-relay-ruby&lt;/a&gt;. Check out his &lt;a href=&quot;https://github.com/rmosolgo/graphql-ruby-demo&quot;&gt;Rails-based demo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Andreas Marek (&lt;a href=&quot;https://github.com/andimarek&quot;&gt;andimarek&lt;/a&gt;) has brewed up a Java implementation of GraphQL, &lt;a href=&quot;https://github.com/andimarek/graphql-java&quot;&gt;graphql-java&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/vladar&quot;&gt;vladar&lt;/a&gt; is hard at work on a PHP port of the GraphQL reference implementation, &lt;a href=&quot;https://github.com/webonyx/graphql-php&quot;&gt;graphql-php&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Taeho Kim (&lt;a href=&quot;https://github.com/dittos&quot;&gt;dittos&lt;/a&gt;) is bringing GraphQL to Python, with &lt;a href=&quot;https://github.com/dittos/graphql-py&quot;&gt;graphql-py&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Oleg Ilyenko (&lt;a href=&quot;https://github.com/OlegIlyenko&quot;&gt;OlegIlyenko&lt;/a&gt;) made a beautiful and &lt;a href=&quot;http://sangria-graphql.org/&quot;&gt;delicious-looking website&lt;/a&gt; for a Scala implementation of GraphQL, &lt;a href=&quot;https://github.com/sangria-graphql/sangria&quot;&gt;sangria&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Joe McBride (&lt;a href=&quot;https://github.com/joemcbride&quot;&gt;joemcbride&lt;/a&gt;) has an up-and-running example of GraphQL for .NET, &lt;a href=&quot;https://github.com/joemcbride/graphql-dotnet&quot;&gt;graphql-dotnet&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;show-me-dont-tell-me&quot;&gt;&lt;/a&gt;Show me, don&amp;#39;t tell me &lt;a class=&quot;hash-link&quot; href=&quot;#show-me-dont-tell-me&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Interact with this &lt;a href=&quot;http://sgwilym.github.io/relay-visual-learners/&quot;&gt;visual tour of Relay&amp;#39;s architecture&lt;/a&gt; by Sam Gwilym (&lt;a href=&quot;https://github.com/sgwilym&quot;&gt;sgwilym&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://sgwilym.github.io/relay-visual-learners/&quot;&gt;
&lt;img src=&quot;/react/img/blog/relay-visual-architecture-tour.png&quot; alt=&quot;Relay for visual learners&quot; style=&quot;max-width:100%&quot;&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sam has already launched a product that leverages Relay&amp;#39;s data-fetching, optimistic responses, pagination, and mutations &amp;ndash; all atop a Ruby GraphQL server: &lt;a href=&quot;http://new.comique.co/&quot;&gt;new.comique.co&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;prototyping-in-the-browser&quot;&gt;&lt;/a&gt;Prototyping in the browser &lt;a class=&quot;hash-link&quot; href=&quot;#prototyping-in-the-browser&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I (&lt;a href=&quot;https://github.com/steveluscher&quot;&gt;steveluscher&lt;/a&gt;) whipped up &lt;a href=&quot;https://facebook.github.io/relay/prototyping/playground.html&quot;&gt;a prototyping tool&lt;/a&gt; that you can use to hack on a schema and a React/Relay app, from the comfort of your browser. Thanks to Jimmy Jia (&lt;a href=&quot;https://github.com/taion&quot;&gt;taion&lt;/a&gt;) for supplying the local-only network layer, &lt;a href=&quot;https://github.com/relay-tools/relay-local-schema&quot;&gt;relay-local-schema&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;skeletons-in-the-closet&quot;&gt;&lt;/a&gt;Skeletons in the closet &lt;a class=&quot;hash-link&quot; href=&quot;#skeletons-in-the-closet&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Joseph Rollins (&lt;a href=&quot;https://github.com/fortruce&quot;&gt;fortruce&lt;/a&gt;) created a hot-reloading, auto schema-regenerating, &lt;a href=&quot;https://github.com/fortruce/relay-skeleton&quot;&gt;Relay skeleton&lt;/a&gt; that you can use to get up and running quickly.&lt;/p&gt;
&lt;p&gt;Michael Hart (&lt;a href=&quot;https://mhart&quot;&gt;mhart&lt;/a&gt;) built a &lt;a href=&quot;https://github.com/mhart/simple-relay-starter&quot;&gt;simple-relay-starter&lt;/a&gt; kit using Browserify.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;routing-around&quot;&gt;&lt;/a&gt;Routing around &lt;a class=&quot;hash-link&quot; href=&quot;#routing-around&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Jimmy Jia (&lt;a href=&quot;https://github.com/taion&quot;&gt;taion&lt;/a&gt;) and Gerald Monaco (&lt;a href=&quot;https://github.com/devknoll&quot;&gt;devknoll&lt;/a&gt;) have been helping lost URLs find their way to Relay apps through their work on &lt;a href=&quot;https://github.com/relay-tools/react-router-relay&quot;&gt;react-router-relay&lt;/a&gt;. Check out Christoph Pojer&amp;#39;s (&lt;a href=&quot;https://github.com/cpojer&quot;&gt;cpojer&lt;/a&gt;) &lt;a href=&quot;https://medium.com/@cpojer/relay-and-routing-36b5439bad9&quot;&gt;blog post&lt;/a&gt; on the topic. Jimmy completed the Relay TodoMVC example with routing, which you can check out at &lt;a href=&quot;https://github.com/taion/relay-todomvc&quot;&gt;taion/relay-todomvc&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Chen Hung-Tu (&lt;a href=&quot;https://github.com/transedward&quot;&gt;transedward&lt;/a&gt;) built a chat app atop the above mentioned router, with threaded conversations and pagination. Check it out at &lt;a href=&quot;https://github.com/transedward/relay-chat&quot;&gt;transedward/relay-chat&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;in-your-words&quot;&gt;&lt;/a&gt;In your words &lt;a class=&quot;hash-link&quot; href=&quot;#in-your-words&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;skinny-row&quot;&gt;
&lt;div class=&quot;skinny-col&quot;&gt;
&lt;blockquote class=&quot;twitter-tweet&quot; lang=&quot;en&quot;&gt;&lt;p lang=&quot;en&quot; dir=&quot;ltr&quot;&gt;Relay making good on its promise to be the &amp;quot;React.js of data fetching&amp;quot;. Rebuilding small app with it. Spectacular how fast/easy building is.&lt;/p&gt;&amp;mdash; Kyle Mathews (@kylemathews) &lt;a href=&quot;https://twitter.com/kylemathews/status/640289107122368513&quot;&gt;September 5, 2015&lt;/a&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;twitter-tweet&quot; lang=&quot;en&quot;&gt;&lt;p lang=&quot;en&quot; dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://twitter.com/hashtag/RainySundayHackathon?src=hash&quot;&gt;#RainySundayHackathon&lt;/a&gt; exploring &lt;a href=&quot;https://twitter.com/hashtag/GraphQL?src=hash&quot;&gt;#GraphQL&lt;/a&gt; &lt;a href=&quot;https://twitter.com/hashtag/RelayJS?src=hash&quot;&gt;#RelayJS&lt;/a&gt; &lt;a href=&quot;http://t.co/Mm3HlqMejJ&quot;&gt;pic.twitter.com/Mm3HlqMejJ&lt;/a&gt;&lt;/p&gt;&amp;mdash; Bastian Kistner (@passionkind) &lt;a href=&quot;https://twitter.com/passionkind/status/632846601447411712&quot;&gt;August 16, 2015&lt;/a&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;twitter-tweet&quot; lang=&quot;en&quot;&gt;&lt;p lang=&quot;en&quot; dir=&quot;ltr&quot;&gt;Friday. Time to GraphQL a MySQL database. &lt;a href=&quot;https://twitter.com/hashtag/graphql?src=hash&quot;&gt;#graphql&lt;/a&gt; &lt;a href=&quot;https://twitter.com/hashtag/relayjs?src=hash&quot;&gt;#relayjs&lt;/a&gt; &lt;a href=&quot;https://twitter.com/hashtag/reactjs?src=hash&quot;&gt;#reactjs&lt;/a&gt; &lt;a href=&quot;https://twitter.com/hashtag/webapp?src=hash&quot;&gt;#webapp&lt;/a&gt;&lt;/p&gt;&amp;mdash; xador (@xadorfr) &lt;a href=&quot;https://twitter.com/xadorfr/status/632108552765751296&quot;&gt;August 14, 2015&lt;/a&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div class=&quot;skinny-col&quot;&gt;
&lt;blockquote class=&quot;twitter-tweet&quot; lang=&quot;en&quot;&gt;&lt;p lang=&quot;en&quot; dir=&quot;ltr&quot;&gt;Started a new &lt;a href=&quot;https://twitter.com/hashtag/RelayJS?src=hash&quot;&gt;#RelayJS&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/hashtag/GraphQL?src=hash&quot;&gt;#GraphQL&lt;/a&gt; meet up group! &lt;a href=&quot;http://t.co/Vt6Cv4nNH4&quot;&gt;http://t.co/Vt6Cv4nNH4&lt;/a&gt; If you&amp;#39;re in the Bay Area, I&amp;#39;d love to have you join! &lt;a href=&quot;https://twitter.com/hashtag/ReactJS?src=hash&quot;&gt;#ReactJS&lt;/a&gt;&lt;/p&gt;&amp;mdash; Gerald Monaco (@devknoll) &lt;a href=&quot;https://twitter.com/devknoll/status/636723716123000832&quot;&gt;August 27, 2015&lt;/a&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;twitter-tweet&quot; lang=&quot;en&quot;&gt;&lt;p lang=&quot;en&quot; dir=&quot;ltr&quot;&gt;.&lt;a href=&quot;https://twitter.com/reactjs&quot;&gt;@reactjs&lt;/a&gt; &lt;a href=&quot;https://twitter.com/laneykuenzel&quot;&gt;@laneykuenzel&lt;/a&gt; &lt;a href=&quot;https://twitter.com/BhuwanKhattar&quot;&gt;@BhuwanKhattar&lt;/a&gt; these &lt;a href=&quot;https://twitter.com/hashtag/relayjs?src=hash&quot;&gt;#relayjs&lt;/a&gt; mutations. they&amp;#39;re mind-blowingly awesome. they make so much damn sense. thank you!&lt;/p&gt;&amp;mdash; Jimmy Jia (@jimmy_jia) &lt;a href=&quot;https://twitter.com/jimmy_jia/status/634204563709526016&quot;&gt;August 20, 2015&lt;/a&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;twitter-tweet&quot; lang=&quot;en&quot;&gt;&lt;p lang=&quot;en&quot; dir=&quot;ltr&quot;&gt;REST is dead, long live REST! &lt;a href=&quot;https://twitter.com/hashtag/graphql?src=hash&quot;&gt;#graphql&lt;/a&gt; &lt;a href=&quot;https://twitter.com/hashtag/relayjs?src=hash&quot;&gt;#relayjs&lt;/a&gt;&lt;/p&gt;&amp;mdash; Syrus Akbary (@syrusakbary) &lt;a href=&quot;https://twitter.com/syrusakbary/status/631531666113060864&quot;&gt;August 12, 2015&lt;/a&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
</description>
<pubDate>2015-09-14T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/09/14/community-roundup-27.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/09/14/community-roundup-27.html</guid>
</item>
<item>
<title>React v0.14 Release Candidate</title>
<description>&lt;p&gt;Were happy to announce our first release candidate for React 0.14! We gave you a &lt;a href=&quot;/react/blog/2015/07/03/react-v0.14-beta-1.html&quot;&gt;sneak peek in July&lt;/a&gt; at the upcoming changes but weve now stabilized the release more and wed love for you to try it out before we release the final version.&lt;/p&gt;
&lt;p&gt;Let us know if you run into any problems by filing issues on our &lt;a href=&quot;https://github.com/facebook/react&quot;&gt;GitHub repo&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;installation&quot;&gt;&lt;/a&gt;Installation &lt;a class=&quot;hash-link&quot; href=&quot;#installation&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We recommend using React from &lt;code&gt;npm&lt;/code&gt; and using a tool like browserify or webpack to build your code into a single package:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;npm install --save react@0.14.0-rc1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npm install --save react-dom@0.14.0-rc1&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remember that by default, React runs extra checks and provides helpful warnings in development mode. When deploying your app, set the &lt;code&gt;NODE_ENV&lt;/code&gt; environment variable to &lt;code&gt;production&lt;/code&gt; to use the production build of React which does not include the development warnings and runs significantly faster.&lt;/p&gt;
&lt;p&gt;If you cant use &lt;code&gt;npm&lt;/code&gt; yet, we also provide pre-built browser builds for your convenience:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;React&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-0.14.0-rc1.js&quot;&gt;https://fb.me/react-0.14.0-rc1.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-0.14.0-rc1.min.js&quot;&gt;https://fb.me/react-0.14.0-rc1.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React with Add-Ons&lt;/strong&gt;&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.0-rc1.js&quot;&gt;https://fb.me/react-with-addons-0.14.0-rc1.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-with-addons-0.14.0-rc1.min.js&quot;&gt;https://fb.me/react-with-addons-0.14.0-rc1.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;React DOM&lt;/strong&gt; (include React in the page before React DOM)&lt;br&gt;
Dev build with warnings: &lt;a href=&quot;https://fb.me/react-dom-0.14.0-rc1.js&quot;&gt;https://fb.me/react-dom-0.14.0-rc1.js&lt;/a&gt;&lt;br&gt;
Minified build for production: &lt;a href=&quot;https://fb.me/react-dom-0.14.0-rc1.min.js&quot;&gt;https://fb.me/react-dom-0.14.0-rc1.min.js&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These builds are also available in the &lt;code&gt;react&lt;/code&gt; package on bower.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;changelog&quot;&gt;&lt;/a&gt;Changelog &lt;a class=&quot;hash-link&quot; href=&quot;#changelog&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;major-changes&quot;&gt;&lt;/a&gt;Major changes &lt;a class=&quot;hash-link&quot; href=&quot;#major-changes&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;two-packages-react-and-react-dom&quot;&gt;&lt;/a&gt;Two Packages: React and React DOM &lt;a class=&quot;hash-link&quot; href=&quot;#two-packages-react-and-react-dom&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;As we look at packages like &lt;a href=&quot;https://github.com/facebook/react-native&quot;&gt;react-native&lt;/a&gt;, &lt;a href=&quot;https://github.com/reactjs/react-art&quot;&gt;react-art&lt;/a&gt;, &lt;a href=&quot;https://github.com/Flipboard/react-canvas&quot;&gt;react-canvas&lt;/a&gt;, and &lt;a href=&quot;https://github.com/Izzimach/react-three&quot;&gt;react-three&lt;/a&gt;, it has become clear that the beauty and essence of React has nothing to do with browsers or the DOM.&lt;/p&gt;
&lt;p&gt;To make this more clear and to make it easier to build more environments that React can render to, were splitting the main &lt;code&gt;react&lt;/code&gt; package into two: &lt;code&gt;react&lt;/code&gt; and &lt;code&gt;react-dom&lt;/code&gt;. &lt;strong&gt;This paves the way to writing components that can be shared between the web version of React and React Native.&lt;/strong&gt; We dont expect all the code in an app to be shared, but we want to be able to share the components that do behave the same across platforms.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;react&lt;/code&gt; package contains &lt;code&gt;React.createElement&lt;/code&gt;, &lt;code&gt;.createClass&lt;/code&gt;, &lt;code&gt;.Component&lt;/code&gt;, &lt;code&gt;.PropTypes&lt;/code&gt;, &lt;code&gt;.Children&lt;/code&gt;, and the other helpers related to elements and component classes. We think of these as the &lt;a href=&quot;http://nerds.airbnb.com/isomorphic-javascript-future-web-apps/&quot;&gt;&lt;em&gt;isomorphic&lt;/em&gt;&lt;/a&gt; or &lt;a href=&quot;https://medium.com/@mjackson/universal-javascript-4761051b7ae9&quot;&gt;&lt;em&gt;universal&lt;/em&gt;&lt;/a&gt; helpers that you need to build components.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;react-dom&lt;/code&gt; package has &lt;code&gt;ReactDOM.render&lt;/code&gt;, &lt;code&gt;.unmountComponentAtNode&lt;/code&gt;, and &lt;code&gt;.findDOMNode&lt;/code&gt;. In &lt;code&gt;react-dom/server&lt;/code&gt; we have server-side rendering support with &lt;code&gt;ReactDOMServer.renderToString&lt;/code&gt; and &lt;code&gt;.renderToStaticMarkup&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;React&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;require&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;#39;react&amp;#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;require&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;#39;react-dom&amp;#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;MyComponent&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;React&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;createClass&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Hello&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;World&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/div&amp;gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;ReactDOM&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;MyComponent&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;node&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Weve published the &lt;a href=&quot;https://github.com/reactjs/react-codemod/blob/master/README.md&quot;&gt;automated codemod script&lt;/a&gt; we used at Facebook to help you with this transition.&lt;/p&gt;
&lt;p&gt;The add-ons have moved to separate packages as well: &lt;code&gt;react-addons-clone-with-props&lt;/code&gt;, &lt;code&gt;react-addons-create-fragment&lt;/code&gt;, &lt;code&gt;react-addons-css-transition-group&lt;/code&gt;, &lt;code&gt;react-addons-linked-state-mixin&lt;/code&gt;, &lt;code&gt;react-addons-perf&lt;/code&gt;, &lt;code&gt;react-addons-pure-render-mixin&lt;/code&gt;, &lt;code&gt;react-addons-shallow-compare&lt;/code&gt;, &lt;code&gt;react-addons-test-utils&lt;/code&gt;, &lt;code&gt;react-addons-transition-group&lt;/code&gt;, and &lt;code&gt;react-addons-update&lt;/code&gt;, plus &lt;code&gt;ReactDOM.unstable_batchedUpdates&lt;/code&gt; in &lt;code&gt;react-dom&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;For now, please use matching versions of &lt;code&gt;react&lt;/code&gt; and &lt;code&gt;react-dom&lt;/code&gt; in your apps to avoid versioning problems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;dom-node-refs&quot;&gt;&lt;/a&gt;DOM node refs &lt;a class=&quot;hash-link&quot; href=&quot;#dom-node-refs&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;The other big change were making in this release is exposing refs to DOM components as the DOM node itself. That means: we looked at what you can do with a &lt;code&gt;ref&lt;/code&gt; to a React DOM component and realized that the only useful thing you can do with it is call &lt;code&gt;this.refs.giraffe.getDOMNode()&lt;/code&gt; to get the underlying DOM node. In this release, &lt;code&gt;this.refs.giraffe&lt;/code&gt; &lt;em&gt;is&lt;/em&gt; the actual DOM node. &lt;strong&gt;Note that refs to custom (user-defined) components work exactly as before; only the built-in DOM components are affected by this change.&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Zoo&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;React&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;createClass&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Giraffe&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ref&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;giraffe&amp;quot;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/div&amp;gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;showName&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// Previously: var input = this.refs.giraffe.getDOMNode();&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;refs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;giraffe&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;alert&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This change also applies to the return result of &lt;code&gt;ReactDOM.render&lt;/code&gt; when passing a DOM node as the top component. As with refs, this change does not affect custom components. With these changes, were deprecating &lt;code&gt;.getDOMNode()&lt;/code&gt; and replacing it with &lt;code&gt;ReactDOM.findDOMNode&lt;/code&gt; (see below).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;stateless-function-components&quot;&gt;&lt;/a&gt;Stateless function components &lt;a class=&quot;hash-link&quot; href=&quot;#stateless-function-components&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;In idiomatic React code, most of the components you write will be stateless, simply composing other components. Were introducing a new, simpler syntax for these components where you can take &lt;code&gt;props&lt;/code&gt; as an argument and return the element you want to render:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-js&quot; data-lang=&quot;js&quot;&gt;&lt;span class=&quot;c1&quot;&gt;// Using an ES2015 (ES6) arrow function:&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Aquarium&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;fish&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;getFish&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;props&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;species&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Tank&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;fish&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/Tank&amp;gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// Or with destructuring and an implicit return, simply:&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Aquarium&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;species&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;})&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Tank&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getFish&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;species&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)}&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;err&quot;&gt;/Tank&amp;gt;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// Then use: &amp;lt;Aquarium species=&amp;quot;rainbowfish&amp;quot; /&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This pattern is designed to encourage the creation of these simple components that should comprise large portions of your apps. In the future, well also be able to make performance optimizations specific to these components by avoiding unnecessary checks and memory allocations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;deprecation-of-react-tools&quot;&gt;&lt;/a&gt;Deprecation of react-tools &lt;a class=&quot;hash-link&quot; href=&quot;#deprecation-of-react-tools&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;The &lt;code&gt;react-tools&lt;/code&gt; package and &lt;code&gt;JSXTransformer.js&lt;/code&gt; browser file &lt;a href=&quot;/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html&quot;&gt;have been deprecated&lt;/a&gt;. You can continue using version &lt;code&gt;0.13.3&lt;/code&gt; of both, but we no longer support them and recommend migrating to &lt;a href=&quot;http://babeljs.io/&quot;&gt;Babel&lt;/a&gt;, which has built-in support for React and JSX.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;h4&gt;&lt;a class=&quot;anchor&quot; name=&quot;compiler-optimizations&quot;&gt;&lt;/a&gt;Compiler optimizations &lt;a class=&quot;hash-link&quot; href=&quot;#compiler-optimizations&quot;&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;React now supports two compiler optimizations that can be enabled in Babel 5.8.23 and newer. Both of these transforms &lt;strong&gt;should be enabled only in production&lt;/strong&gt; (e.g., just before minifying your code) because although they improve runtime performance, they make warning messages more cryptic and skip important checks that happen in development mode, including propTypes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Inlining React elements:&lt;/strong&gt; The &lt;code&gt;optimisation.react.inlineElements&lt;/code&gt; transform converts JSX elements to object literals like &lt;code&gt;{type: &amp;#39;div&amp;#39;, props: ...}&lt;/code&gt; instead of calls to &lt;code&gt;React.createElement&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Constant hoisting for React elements:&lt;/strong&gt; The &lt;code&gt;optimisation.react.constantElements&lt;/code&gt; transform hoists element creation to the top level for subtrees that are fully static, which reduces calls to &lt;code&gt;React.createElement&lt;/code&gt; and the resulting allocations. More importantly, it tells React that the subtree hasnt changed so React can completely skip it when reconciling.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;breaking-changes&quot;&gt;&lt;/a&gt;Breaking changes &lt;a class=&quot;hash-link&quot; href=&quot;#breaking-changes&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;As always, we have a few breaking changes in this release. Whenever we make large changes, we warn for at least one release so you have time to update your code. The Facebook codebase has over 15,000 React components, so on the React team, we always try to minimize the pain of breaking changes.&lt;/p&gt;
&lt;p&gt;These three breaking changes had a warning in 0.13, so you shouldnt have to do anything if your code is already free of warnings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;props&lt;/code&gt; object is now frozen, so mutating props after creating a component element is no longer supported. In most cases, &lt;a href=&quot;/react/docs/top-level-api.html#react.cloneelement&quot;&gt;&lt;code&gt;React.cloneElement&lt;/code&gt;&lt;/a&gt; should be used instead. This change makes your components easier to reason about and enables the compiler optimizations mentioned above.&lt;/li&gt;
&lt;li&gt;Plain objects are no longer supported as React children; arrays should be used instead. You can use the &lt;a href=&quot;/react/docs/create-fragment.html&quot;&gt;&lt;code&gt;createFragment&lt;/code&gt;&lt;/a&gt; helper to migrate, which now returns an array.&lt;/li&gt;
&lt;li&gt;Add-Ons: &lt;code&gt;classSet&lt;/code&gt; has been removed. Use &lt;a href=&quot;https://github.com/JedWatson/classnames&quot;&gt;classnames&lt;/a&gt; instead.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And these two changes did not warn in 0.13 but should be easy to find and clean up:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;React.initializeTouchEvents&lt;/code&gt; is no longer necessary and has been removed completely. Touch events now work automatically.&lt;/li&gt;
&lt;li&gt;Add-Ons: Due to the DOM node refs change mentioned above, &lt;code&gt;TestUtils.findAllInRenderedTree&lt;/code&gt; and related helpers are no longer able to take a DOM component, only a custom component.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;new-deprecations-introduced-with-a-warning&quot;&gt;&lt;/a&gt;New deprecations, introduced with a warning &lt;a class=&quot;hash-link&quot; href=&quot;#new-deprecations-introduced-with-a-warning&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Due to the DOM node refs change mentioned above, &lt;code&gt;this.getDOMNode()&lt;/code&gt; is now deprecated and &lt;code&gt;ReactDOM.findDOMNode(this)&lt;/code&gt; can be used instead. Note that in most cases, calling &lt;code&gt;findDOMNode&lt;/code&gt; is now unnecessary see the example above in the “DOM node refs” section.&lt;/p&gt;
&lt;p&gt;If you have a large codebase, you can use our &lt;a href=&quot;https://github.com/facebook/react/blob/master/packages/react-codemod/README.md&quot;&gt;automated codemod script&lt;/a&gt; to change your code automatically.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;setProps&lt;/code&gt; and &lt;code&gt;replaceProps&lt;/code&gt; are now deprecated. Instead, call ReactDOM.render again at the top level with the new props.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ES6 component classes must now extend &lt;code&gt;React.Component&lt;/code&gt; in order to enable stateless function components. The &lt;a href=&quot;/react/blog/2015/01/27/react-v0.13.0-beta-1.html#other-languages&quot;&gt;ES3 module pattern&lt;/a&gt; will continue to work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Reusing and mutating a &lt;code&gt;style&lt;/code&gt; object between renders has been deprecated. This mirrors our change to freeze the &lt;code&gt;props&lt;/code&gt; object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add-Ons: &lt;code&gt;cloneWithProps&lt;/code&gt; is now deprecated. Use &lt;a href=&quot;/react/docs/top-level-api.html#react.cloneelement&quot;&gt;&lt;code&gt;React.cloneElement&lt;/code&gt;&lt;/a&gt; instead (unlike &lt;code&gt;cloneWithProps&lt;/code&gt;, &lt;code&gt;cloneElement&lt;/code&gt; does not merge &lt;code&gt;className&lt;/code&gt; or &lt;code&gt;style&lt;/code&gt; automatically; you can merge them manually if needed).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add-Ons: To improve reliability, &lt;code&gt;CSSTransitionGroup&lt;/code&gt; will no longer listen to transition events. Instead, you should specify transition durations manually using props such as &lt;code&gt;transitionEnterTimeout={500}&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;notable-enhancements&quot;&gt;&lt;/a&gt;Notable enhancements &lt;a class=&quot;hash-link&quot; href=&quot;#notable-enhancements&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Added &lt;code&gt;React.Children.toArray&lt;/code&gt; which takes a nested children object and returns a flat array with keys assigned to each child. This helper makes it easier to manipulate collections of children in your &lt;code&gt;render&lt;/code&gt; methods, especially if you want to reorder or slice &lt;code&gt;this.props.children&lt;/code&gt; before passing it down. In addition, &lt;code&gt;React.Children.map&lt;/code&gt; now returns plain arrays too.&lt;/li&gt;
&lt;li&gt;React uses &lt;code&gt;console.error&lt;/code&gt; instead of &lt;code&gt;console.warn&lt;/code&gt; for warnings so that browsers show a full stack trace in the console. (Our warnings appear when you use patterns that will break in future releases and for code that is likely to behave unexpectedly, so we do consider our warnings to be “must-fix” errors.)&lt;/li&gt;
&lt;li&gt;Previously, including untrusted objects as React children &lt;a href=&quot;http://danlec.com/blog/xss-via-a-spoofed-react-element&quot;&gt;could result in an XSS security vulnerability&lt;/a&gt;. This problem should be avoided by properly validating input at the application layer and by never passing untrusted objects around your application code. As an additional layer of protection, &lt;a href=&quot;https://github.com/facebook/react/pull/4832&quot;&gt;React now tags elements&lt;/a&gt; with a specific &lt;a href=&quot;http://www.2ality.com/2014/12/es6-symbols.html&quot;&gt;ES2015 (ES6) &lt;code&gt;Symbol&lt;/code&gt;&lt;/a&gt; in browsers that support it, in order to ensure that React never considers untrusted JSON to be a valid element. If this extra security protection is important to you, you should add a &lt;code&gt;Symbol&lt;/code&gt; polyfill for older browsers, such as the one included by &lt;a href=&quot;http://babeljs.io/docs/usage/polyfill/&quot;&gt;Babels polyfill&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;When possible, React DOM now generates XHTML-compatible markup.&lt;/li&gt;
&lt;li&gt;React DOM now supports these standard HTML attributes: &lt;code&gt;capture&lt;/code&gt;, &lt;code&gt;challenge&lt;/code&gt;, &lt;code&gt;inputMode&lt;/code&gt;, &lt;code&gt;is&lt;/code&gt;, &lt;code&gt;keyParams&lt;/code&gt;, &lt;code&gt;keyType&lt;/code&gt;, &lt;code&gt;minLength&lt;/code&gt;, &lt;code&gt;summary&lt;/code&gt;, &lt;code&gt;wrap&lt;/code&gt;. It also now supports these non-standard attributes: &lt;code&gt;autoSave&lt;/code&gt;, &lt;code&gt;results&lt;/code&gt;, &lt;code&gt;security&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;React DOM now supports these SVG attributes, which render into namespaced attributes: &lt;code&gt;xlinkActuate&lt;/code&gt;, &lt;code&gt;xlinkArcrole&lt;/code&gt;, &lt;code&gt;xlinkHref&lt;/code&gt;, &lt;code&gt;xlinkRole&lt;/code&gt;, &lt;code&gt;xlinkShow&lt;/code&gt;, &lt;code&gt;xlinkTitle&lt;/code&gt;, &lt;code&gt;xlinkType&lt;/code&gt;, &lt;code&gt;xmlBase&lt;/code&gt;, &lt;code&gt;xmlLang&lt;/code&gt;, &lt;code&gt;xmlSpace&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;image&lt;/code&gt; SVG tag is now supported by React DOM.&lt;/li&gt;
&lt;li&gt;In React DOM, arbitrary attributes are supported on custom elements (those with a hyphen in the tag name or an &lt;code&gt;is=&amp;quot;...&amp;quot;&lt;/code&gt; attribute).&lt;/li&gt;
&lt;li&gt;React DOM now supports these media events on &lt;code&gt;audio&lt;/code&gt; and &lt;code&gt;video&lt;/code&gt; tags: &lt;code&gt;onAbort&lt;/code&gt;, &lt;code&gt;onCanPlay&lt;/code&gt;, &lt;code&gt;onCanPlayThrough&lt;/code&gt;, &lt;code&gt;onDurationChange&lt;/code&gt;, &lt;code&gt;onEmptied&lt;/code&gt;, &lt;code&gt;onEncrypted&lt;/code&gt;, &lt;code&gt;onEnded&lt;/code&gt;, &lt;code&gt;onError&lt;/code&gt;, &lt;code&gt;onLoadedData&lt;/code&gt;, &lt;code&gt;onLoadedMetadata&lt;/code&gt;, &lt;code&gt;onLoadStart&lt;/code&gt;, &lt;code&gt;onPause&lt;/code&gt;, &lt;code&gt;onPlay&lt;/code&gt;, &lt;code&gt;onPlaying&lt;/code&gt;, &lt;code&gt;onProgress&lt;/code&gt;, &lt;code&gt;onRateChange&lt;/code&gt;, &lt;code&gt;onSeeked&lt;/code&gt;, &lt;code&gt;onSeeking&lt;/code&gt;, &lt;code&gt;onStalled&lt;/code&gt;, &lt;code&gt;onSuspend&lt;/code&gt;, &lt;code&gt;onTimeUpdate&lt;/code&gt;, &lt;code&gt;onVolumeChange&lt;/code&gt;, &lt;code&gt;onWaiting&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Many small performance improvements have been made.&lt;/li&gt;
&lt;li&gt;Many warnings show more context than before.&lt;/li&gt;
&lt;li&gt;Add-Ons: A &lt;a href=&quot;https://github.com/facebook/react/pull/3355&quot;&gt;&lt;code&gt;shallowCompare&lt;/code&gt;&lt;/a&gt; add-on has been added as a migration path for &lt;code&gt;PureRenderMixin&lt;/code&gt; in ES6 classes.&lt;/li&gt;
&lt;li&gt;Add-Ons: &lt;code&gt;CSSTransitionGroup&lt;/code&gt; can now use &lt;a href=&quot;https://github.com/facebook/react/blob/48942b85/docs/docs/10.1-animation.md#custom-classes&quot;&gt;custom class names&lt;/a&gt; instead of appending &lt;code&gt;-enter-active&lt;/code&gt; or similar to the transition name.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;new-helpful-warnings&quot;&gt;&lt;/a&gt;New helpful warnings &lt;a class=&quot;hash-link&quot; href=&quot;#new-helpful-warnings&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;React DOM now warns you when nesting HTML elements invalidly, which helps you avoid surprising errors during updates.&lt;/li&gt;
&lt;li&gt;Passing &lt;code&gt;document.body&lt;/code&gt; directly as the container to &lt;code&gt;ReactDOM.render&lt;/code&gt; now gives a warning as doing so can cause problems with browser extensions that modify the DOM.&lt;/li&gt;
&lt;li&gt;Using multiple instances of React together is not supported, so we now warn when we detect this case to help you avoid running into the resulting problems.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a class=&quot;anchor&quot; name=&quot;notable-bug-fixes&quot;&gt;&lt;/a&gt;Notable bug fixes &lt;a class=&quot;hash-link&quot; href=&quot;#notable-bug-fixes&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Click events are handled by React DOM more reliably in mobile browsers, particularly in Mobile Safari.&lt;/li&gt;
&lt;li&gt;SVG elements are created with the correct namespace in more cases.&lt;/li&gt;
&lt;li&gt;React DOM now renders &lt;code&gt;&amp;lt;option&amp;gt;&lt;/code&gt; elements with multiple text children properly and renders &lt;code&gt;&amp;lt;select&amp;gt;&lt;/code&gt; elements on the server with the correct option selected.&lt;/li&gt;
&lt;li&gt;When two separate copies of React add nodes to the same document (including when a browser extension uses React), React DOM tries harder not to throw exceptions during event handling.&lt;/li&gt;
&lt;li&gt;Using non-lowercase HTML tag names in React DOM (e.g., &lt;code&gt;React.createElement(&amp;#39;DIV&amp;#39;)&lt;/code&gt;) no longer causes problems, though we continue to recommend lowercase for consistency with the JSX tag name convention (lowercase names refer to built-in components, capitalized names refer to custom components).&lt;/li&gt;
&lt;li&gt;React DOM understands that these CSS properties are unitless and does not append “px” to their values: &lt;code&gt;animationIterationCount&lt;/code&gt;, &lt;code&gt;boxOrdinalGroup&lt;/code&gt;, &lt;code&gt;flexOrder&lt;/code&gt;, &lt;code&gt;tabSize&lt;/code&gt;, &lt;code&gt;stopOpacity&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add-Ons: When using the test utils, &lt;code&gt;Simulate.mouseEnter&lt;/code&gt; and &lt;code&gt;Simulate.mouseLeave&lt;/code&gt; now work.&lt;/li&gt;
&lt;li&gt;Add-Ons: ReactTransitionGroup now correctly handles multiple nodes being removed simultaneously.&lt;/li&gt;
&lt;/ul&gt;
</description>
<pubDate>2015-09-10T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/09/10/react-v0.14-rc1.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/09/10/react-v0.14-rc1.html</guid>
</item>
<item>
<title>New React Developer Tools</title>
<description>&lt;p&gt;A month ago, we &lt;a href=&quot;/react/blog/2015/08/03/new-react-devtools-beta.html&quot;&gt;posted a beta&lt;/a&gt; of the new React developer tools. Today, we&amp;#39;re releasing the first stable version of the new devtools. We&amp;#39;re calling it version 0.14, but it&amp;#39;s a full rewrite so we think of it more like a 2.0 release.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/react/img/blog/devtools-full.gif&quot; alt=&quot;Video/screenshot of new devtools&quot;&gt;&lt;/p&gt;
&lt;p&gt;It contains a handful of new features, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Built entirely with React, making it easier to develop and extend&lt;/li&gt;
&lt;li&gt;Firefox support&lt;/li&gt;
&lt;li&gt;Selected component instance is available as &lt;code&gt;$r&lt;/code&gt; from the console&lt;/li&gt;
&lt;li&gt;More detail is shown in props in the component tree&lt;/li&gt;
&lt;li&gt;Right-click any node and choose &amp;quot;Show Source&amp;quot; to jump to the &lt;code&gt;render&lt;/code&gt; method in the Sources panel&lt;/li&gt;
&lt;li&gt;Right-click any props or state value to make it available as &lt;code&gt;$tmp&lt;/code&gt; from the console&lt;/li&gt;
&lt;li&gt;Full React Native support&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;installation&quot;&gt;&lt;/a&gt;Installation &lt;a class=&quot;hash-link&quot; href=&quot;#installation&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Download the new devtools from the &lt;a href=&quot;https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi&quot;&gt;Chrome Web Store&lt;/a&gt; and on &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/react-devtools/&quot;&gt;Mozilla Add-ons&lt;/a&gt; for Firefox. If you&amp;#39;re developing using React, we highly recommend installing these devtools.&lt;/p&gt;
&lt;p&gt;If you already have the Chrome extension installed, it should autoupdate within the next week. You can also head to &lt;code&gt;chrome://extensions&lt;/code&gt; and click &amp;quot;Update extensions now&amp;quot; if you&amp;#39;d like to get the new version today. If you installed the devtools beta, please remove it and switch back to the version from the store to make sure you always get the latest updates and bug fixes.&lt;/p&gt;
&lt;p&gt;If you run into any issues, please post them on our &lt;a href=&quot;https://github.com/facebook/react-devtools&quot;&gt;react-devtools GitHub repo&lt;/a&gt;.&lt;/p&gt;
</description>
<pubDate>2015-09-02T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/09/02/new-react-developer-tools.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/09/02/new-react-developer-tools.html</guid>
</item>
<item>
<title>ReactEurope Round-up</title>
<description>&lt;p&gt;Last month, the first React.js European conference took place in the city of Paris, at ReactEurope. Attendees were treated to a range of talks covering React, React Native, Flux, Relay, and GraphQL. Big thanks to everyone involved with organizing the conference, to all the attendees, and everyone who gave their time to speak - it wouldn&amp;#39;t have been possible without the help and support of the React community.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/vjeux&quot;&gt;Christopher Chedeau&lt;/a&gt; gave the opening keynote to the conference:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/PAA9O4E1IM4&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/sahrens&quot;&gt;Spencer Ahrens&lt;/a&gt; walks through building an advanced gestural UI leveraging the unique power of the React Native layout and animation systems to build a complex and fluid experience:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/xDlfrcM6YBk&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/leebyron&quot;&gt;Lee Byron&lt;/a&gt; explores GraphQL, its core principles, how it works, and what makes it a powerful tool:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/WQLzZf34FJ8&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/josephsavona&quot;&gt;Joseph Savona&lt;/a&gt; explores the problems Relay solves, its architecture and the query lifecycle, and how can you use Relay to build more scalable apps. There are examples of how Relay powers applications as complex as the Facebook News Feed:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/IrgHurBjQbg&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/schrockn&quot;&gt;Nick Schrock&lt;/a&gt; and &lt;a href=&quot;https://github.com/dschafer&quot;&gt;Dan Schafer&lt;/a&gt; take a deeper dive into putting GraphQL to work. How can we build a GraphQL API to work with an existing REST API or server-side data model? What are best practices when building a GraphQL API, and how do they differ from traditional REST best practices? How does Facebook use GraphQL? Most importantly, what does a complete and coherent GraphQL API looks like, and how can we get started building one?&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/gY48GW87Feo&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/sebmarkbage&quot;&gt;Sebastian Markbåge&lt;/a&gt; talks about why the DOM is flawed and how it is becoming a second-class citizen in the land of React apps:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/Zemce4Y1Y-A&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/sebmck&quot;&gt;Sebastian McKenzie&lt;/a&gt; goes over how existing JSX build pipeline infrastructure can be further utilised to perform even more significant code transformations such as transpilation, optimisation, profiling and more, reducing bugs, making your code faster and you as a developer more productive and happy:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/OFuDvqZmUrE&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/chenglou&quot;&gt;Cheng Lou&lt;/a&gt; gives a talk on the past, the present and the future of animation, and the place React can potentially take in this:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/1tavDv5hXpo&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;And there was a Q&amp;amp;A session with the whole team covering a range of React topics:&lt;/p&gt;
&lt;iframe width=&quot;650&quot; height=&quot;366&quot; src=&quot;//www.youtube.com/embed/CRJZBZ_-6hQ&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;And there were lots of great talks from the React community:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=ERB1TJBn32c&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&amp;amp;index=2&quot;&gt;Michael Chan&lt;/a&gt; looks at how to solve problems like CSS theming and media queries with contexts and plain old JavaScript. He also looks at the role of container-components and when it&amp;#39;s better to &amp;quot;just use CSS.&amp;quot;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=JSjhhUvB9DY&amp;amp;index=3&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&quot;&gt;Elie Rotenberg&lt;/a&gt; talks about Flux over the Wire, building isomorphic, real-time React apps using a novel interpretation of Flux.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=BF58ZJ1ZQxY&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&amp;amp;index=6&quot;&gt;Ryan Florence&lt;/a&gt; says “Your front and back ends are already successfully in production but you don&amp;#39;t have to miss out on the productivity that React brings. Forget the rewrites, this is brownfield!”.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=xsSnOQynTHs&amp;amp;index=7&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&quot;&gt;Dan Abramov&lt;/a&gt; demonstrates how React can be used together with Webpack Hot Module Replacement to create a live editing environment with time travel that supercharges your debugging experience and transforms the way you work on real apps every day.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=ee_U2t-8L48&amp;amp;index=10&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&quot;&gt;Mikhail Davydov&lt;/a&gt; shows you how to ask the browser layout engine for help, how to avoid slavery of DSL, and build declarative Text UI using only web-technologies like HTML, JS, CSS and React.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=EOz4D_714R8&amp;amp;list=PLCC436JpVnK3HvUSAHpt-LRJkIK8pQG6R&amp;amp;index=3&quot;&gt;Kevin Robinson&lt;/a&gt; shares how user experience choices are a primary influence on how Twitter design the data layer, especially for teams developing new products with full-stack capabilities.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=ctwmd5L1U_Q&amp;amp;list=PLCC436JpVnK3HvUSAHpt-LRJkIK8pQG6R&amp;amp;index=4&quot;&gt;Jed Watson&lt;/a&gt; shares what Thinkmill have learned about React and mobile app development, and how they&amp;#39;ve approached the unique challenges of mobile web apps - with tools that are useful to all developers building touch interfaces with React, as well as a walkthrough of their development process and framework.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=Q6Kczrgw6ic&amp;amp;list=PLCC436JpVnK3HvUSAHpt-LRJkIK8pQG6R&amp;amp;index=5&quot;&gt;Michael Jackson&lt;/a&gt; discusses how your users can benefit from the many tools that React Router provides including server-side rendering, real URLs on native devices, and much, much more.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=MrozpFEBEBE&amp;amp;index=7&amp;amp;list=PLCC436JpVnK3HvUSAHpt-LRJkIK8pQG6R&quot;&gt;Michael Ridgway&lt;/a&gt; walks you through an isomorphic Flux architecture to give you the holy grail of frontend development.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=2Qu-Ulrsfl8&amp;amp;index=8&amp;amp;list=PLCC436JpVnK3HvUSAHpt-LRJkIK8pQG6R&quot;&gt;Aria Buckles&lt;/a&gt; covers Khan Academy&amp;#39;s techniques and patterns to make dealing with large pure components simpler, as well as current open questions.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=Uu4Yz2HmCgE&amp;amp;index=9&amp;amp;list=PLCC436JpVnK3HvUSAHpt-LRJkIK8pQG6R&quot;&gt;Evan Morikawa and Ben Gotow&lt;/a&gt; talk about specific features of React &amp;amp; Flux, React CSS, programming design patterns, and custom libraries, which can turn a static application into a dynamic platform that an ecosystem of developers can build on top of.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=3EQhkquvVmY&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&amp;amp;index=9&quot;&gt;Zalando&lt;/a&gt;, &lt;a href=&quot;https://www.youtube.com/watch?v=nAWKR1bBDsU&amp;amp;index=12&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&quot;&gt;Rangle.io&lt;/a&gt;, &lt;a href=&quot;https://www.youtube.com/watch?v=hjhyrBbDp6U&amp;amp;index=13&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&quot;&gt;Automattic&lt;/a&gt;, &lt;a href=&quot;https://www.youtube.com/watch?v=ApoCktYaRxk&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&amp;amp;index=14&quot;&gt;Thinkmill&lt;/a&gt;, and &lt;a href=&quot;https://www.youtube.com/watch?v=hdKidiwR8DM&amp;amp;list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD&amp;amp;index=15&quot;&gt;Red Badger&lt;/a&gt; provided lots of insight into how larger companies are using React.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There was also a &lt;a href=&quot;https://www.youtube.com/playlist?list=PLCC436JpVnK3xnOZ727t0vd3nbb5ZqCyo&quot;&gt;great series of Lightning talks&lt;/a&gt; from &lt;a href=&quot;https://github.com/jsierles&quot;&gt;Joshua Sierles&lt;/a&gt;, &lt;a href=&quot;https://github.com/skidding&quot;&gt;Ovidiu Cherecheș&lt;/a&gt;, &lt;a href=&quot;https://github.com/grabbou&quot;&gt;Mike Grabowski&lt;/a&gt;, &lt;a href=&quot;https://github.com/bruderstein&quot;&gt;Dave Brotherstone&lt;/a&gt;, &lt;a href=&quot;https://github.com/threepointone&quot;&gt;Sunil Pai&lt;/a&gt;, &lt;a href=&quot;https://github.com/AnSavvides&quot;&gt;Andreas Savvides&lt;/a&gt;, and &lt;a href=&quot;https://github.com/petrbela&quot;&gt;Petr Bela&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can view the full list of talks on &lt;a href=&quot;https://www.youtube.com/channel/UCorlLn2oZfgOJ-FUcF2eZ1A&quot;&gt;the ReactEurope YouTube channel&lt;/a&gt;.&lt;/p&gt;
</description>
<pubDate>2015-08-13T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/08/13/reacteurope-roundup.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/08/13/reacteurope-roundup.html</guid>
</item>
<item>
<title>Relay Technical Preview</title>
<description>&lt;h1&gt;&lt;a class=&quot;anchor&quot; name=&quot;relay&quot;&gt;&lt;/a&gt;Relay &lt;a class=&quot;hash-link&quot; href=&quot;#relay&quot;&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Today we&amp;#39;re excited to share an update on Relay - the technical preview is now open-source and &lt;a href=&quot;http://github.com/facebook/relay&quot;&gt;available on GitHub&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;why-relay&quot;&gt;&lt;/a&gt;Why Relay &lt;a class=&quot;hash-link&quot; href=&quot;#why-relay&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;While React simplified the process of developing complex user-interfaces, it left open the question of how to interact with data on the server. It turns out that this was a significant source of friction for our developers; fragile coupling between client and server caused data-related bugs and made iteration harder. Furthermore, developers were forced to constantly re-implement complex async logic instead of focusing on their apps. Relay addresses these concerns by borrowing important lessons from React: it provides &lt;em&gt;declarative, component-oriented data fetching for React applications&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Declarative data-fetching means that Relay applications specify &lt;em&gt;what&lt;/em&gt; data they need, not &lt;em&gt;how&lt;/em&gt; to fetch that data. Just as React uses a description of the desired UI to manage view updates, Relay uses a data description in the form of GraphQL queries. Given these descriptions, Relay coalesces queries into batches for efficiency, manages error-prone asynchronous logic, caches data for performance, and automatically updates views as data changes.&lt;/p&gt;
&lt;p&gt;Relay is also component-oriented, extending the notion of a React component to include a description of what data is necessary to render it. This colocation allows developers to reason locally about their application and eliminates bugs such as under- or over-fetching data.&lt;/p&gt;
&lt;p&gt;Relay is in use at Facebook in production apps, and we&amp;#39;re using it more and more because &lt;em&gt;Relay lets developers focus on their products and move fast&lt;/em&gt;. It&amp;#39;s working for us and we&amp;#39;d like to share it with the community.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;whats-included&quot;&gt;&lt;/a&gt;What&amp;#39;s Included &lt;a class=&quot;hash-link&quot; href=&quot;#whats-included&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We&amp;#39;re open-sourcing a technical preview of Relay - the core framework that we use internally, with some modifications for use outside Facebook. As this is the first release, it&amp;#39;s good to keep in mind that there may be some incomplete or missing features. We&amp;#39;ll continue to develop Relay and are working closely with the GraphQL community to ensure that Relay tracks updates during GraphQL&amp;#39;s RFC period. But we couldn&amp;#39;t wait any longer to get this in your hands, and we&amp;#39;re looking forward to your feedback and contributions.&lt;/p&gt;
&lt;p&gt;Relay is available on &lt;a href=&quot;http://github.com/facebook/relay&quot;&gt;GitHub&lt;/a&gt; and &lt;a href=&quot;https://www.npmjs.com/package/react-relay&quot;&gt;npm&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a class=&quot;anchor&quot; name=&quot;whats-next&quot;&gt;&lt;/a&gt;What&amp;#39;s Next &lt;a class=&quot;hash-link&quot; href=&quot;#whats-next&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The team is super excited to be releasing Relay - and just as excited about what&amp;#39;s next. Here are some of the things we&amp;#39;ll be focusing on:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Offline support. This will allow applications to fulfill queries and enqueue updates without connectivity.&lt;/li&gt;
&lt;li&gt;Real-time updates. In collaboration with the GraphQL community, we&amp;#39;re working to define a specification for subscriptions and provide support for them in Relay.&lt;/li&gt;
&lt;li&gt;A generic Relay. Just as the power of React was never about the virtual DOM, Relay is much more than a GraphQL client. We&amp;#39;re working to extend Relay to provide a unified interface for interacting not only with server data, but also in-memory and native device data (and, even better, a mix of all three).&lt;/li&gt;
&lt;li&gt;Finally, it&amp;#39;s all too easy as developers to focus on those people with the newest devices and fastest internet connections. We&amp;#39;re working to make it easier to build applications that are robust in the face of slow or intermittent connectivity.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description>
<pubDate>2015-08-11T00:00:00-07:00</pubDate>
<link>https://facebook.github.io/react/blog/2015/08/11/relay-technical-preview.html</link>
<guid isPermaLink="true">https://facebook.github.io/react/blog/2015/08/11/relay-technical-preview.html</guid>
</item>
</channel>
</rss>