hello.js

var please = require('share');
console.log('thank you');

Saturday, 9 September, 2017 UTC

DOM Attributes in React 16

DOM Attributes in React 16

In the past, React used to ignore unknown DOM attributes. If you wrote JSX with an attribute that React doesn't recognize, React would just skip it. For example, this: // Your code: <div mycustomattribute="something" /> would render an ... more


Wednesday, 26 July, 2017 UTC

Error Handling in React 16

Error Handling in React 16

As React 16 release is getting closer, we would like to announce a few changes to how React handles JavaScript errors inside components. These changes are included in React 16 beta versions, and will be a part of React 16. By the way, we just released ... more


Tuesday, 13 June, 2017 UTC

React v15.6.0

React v15.6.0

Today we are releasing React 15.6.0. As we prepare for React 16.0, we have been fixing and cleaning up many things. This release continues to pave the way. Improving Inputs In React 15.6.0 the onChange event for inputs is a little bit more reliable and ... more


Friday, 19 May, 2017 UTC

What's New in Create React App

What's New in Create React App

Less than a year ago, we introduced Create React App as an officially supported way to create apps with zero configuration. The project has since enjoyed tremendous growth, with over 950 commits by more than 250 contributors. Today, we are excited to ... more


Friday, 7 April, 2017 UTC

React v15.5.0

React v15.5.0

It's been exactly one year since the last breaking change to React. Our next major release, React 16, will include some exciting improvements, including a complete rewrite of React's internals. We take stability seriously, and are committed to bringing ... more


Wednesday, 16 November, 2016 UTC

React v15.4.0

React v15.4.0

Today we are releasing React 15.4.0. We didn't announce the previous minor releases on the blog because most of the changes were bug fixes. However, 15.4.0 is a special release, and we would like to highlight a few notable changes in it. Separating React ... more


Wednesday, 28 September, 2016 UTC

Our First 50,000 Stars

Our First 50,000 Stars

Just three and a half years ago we open sourced a little JavaScript library called React. The journey since that day has been incredibly exciting. Commemorative T-Shirt # In order to celebrate 50,000 GitHub stars, Maggie Appleton from egghead.io has ... more


Friday, 5 August, 2016 UTC

Relay: State of the State

Relay: State of the State

This month marks a year since we released Relay and we'd like to share an update on the project and what's next. A Year In Review # A year after launch, we're incredibly excited to see an active community forming around Relay and that companies such ... more


Friday, 22 July, 2016 UTC

Create Apps with No Configuration

Create Apps with No Configuration

Create React App is a new officially supported way to create single-page React applications. It offers a modern build setup with no configuration. Getting Started # Installation # First, install the global package: npm install -g create-react-app Node.js ... more


Wednesday, 13 July, 2016 UTC

Mixins Considered Harmful

Mixins Considered Harmful

“How do I share the code between several components?” is one of the first questions that people ask when they learn React. Our answer has always been to use component composition for code reuse. You can define a component and use it in several other ... more


Tuesday, 12 July, 2016 UTC

Introducing React's Error Code System

Introducing React's Error Code System

Building a better developer experience has been one of the things that React deeply cares about, and a crucial part of it is to detect anti-patterns/potential errors early and provide helpful error messages when things (may) go wrong. However, most of ... more


Friday, 8 April, 2016 UTC

React v15.0

React v15.0

We would like to thank the React community for reporting issues and regressions in the release candidates on our issue tracker. Over the last few weeks we fixed those issues, and now, after two release candidates, we are excited to finally release the ... more


Friday, 8 April, 2016 UTC

React v15.0.1

React v15.0.1

Yesterday afternoon we shipped v15.0.0 and quickly got some feedback about a couple of issues. We apologize for these problems and we've been working since then to make sure we get fixes into your hands as quickly as possible. The first of these issues ... more


Tuesday, 29 March, 2016 UTC

React v0.14.8

React v0.14.8

We have already released two release candidates for React 15, and the final version is coming soon. However Ian Christian Myers discovered a memory leak related to server rendering in React 0.14 and contributed a fix. While this memory leak has already ... more


Monday, 28 March, 2016 UTC

Dive into React Native Performance

Dive into React Native Performance

... more


Thursday, 17 March, 2016 UTC

React v15.0 Release Candidate 2

React v15.0 Release Candidate 2

Today we're releasing a second release candidate for version 15. Primarily this is to address 2 issues, but we also picked up a few small changes from new contributors, including some improvements to some of our new warnings. The most pressing change ... more


Tuesday, 8 March, 2016 UTC

React v15.0 Release Candidate

React v15.0 Release Candidate

Sorry for the small delay in releasing this. As we said, we've been busy binge-watching House of Cards. That scene in the last episode where Francis and Claire Underwood ████████████████████████████████████. WOW! But now we're ready, so without further ... more


Friday, 19 February, 2016 UTC

New Versioning Scheme

New Versioning Scheme

Today we're announcing that we're switching to major revisions for React. The next release will be: 15.0.0 This change shouldn't materially affect most of you. Moving to major versions simply helps indicate our commitment to stability and gives us the ... more


Tuesday, 12 January, 2016 UTC

Discontinuing IE 8 Support in React DOM

Discontinuing IE 8 Support in React DOM

Since its 2013 release, React has supported all popular browsers, including Internet Explorer 8 and above. We handle normalizing many quirks present in old browser versions, including event system differences, so that your app code doesn't have to worry ... more


Friday, 8 January, 2016 UTC

(A => B) !=> (B => A)

(A => B) !=> (B => A)

The documentation for componentWillReceiveProps states that componentWillReceiveProps will be invoked when the props change as the result of a rerender. Some people assume this means "if componentWillReceiveProps is called, then the props must have ... more


Wednesday, 30 December, 2015 UTC

React v0.14.4

React v0.14.4

Happy December! We have a minor point release today. It has just a few small bug fixes. The release is now available for download: React Dev build with warnings: https://fb.me/react-0.14.4.js Minified build for production: https://fb.me/react-0.14.4.min.js ... more


Friday, 18 December, 2015 UTC

React Components, Elements, and Instances

React Components, Elements, and Instances

The difference between components, their instances, and elements confuses many React beginners. Why are there three different terms to refer to something that is painted on screen? Managing the Instances # If you’re new to React, you probably only worked ... more


Wednesday, 16 December, 2015 UTC

isMounted is an Antipattern

isMounted is an Antipattern

As we move closer to officially deprecating isMounted, it's worth understanding why the function is an antipattern, and how to write code without the isMounted function. The primary use case for isMounted() is to avoid calling setState() after a component ... more


Friday, 4 December, 2015 UTC

React.js Conf 2016 Diversity Scholarship

React.js Conf 2016 Diversity Scholarship

I thrilled to announced that we will be organizing another diversity scholarship program for the upcoming React.js Conf! The tech industry is suffering from a lack of diversity, but it's important to us that we have a thriving community that is made ... more


Thursday, 19 November, 2015 UTC

React v0.14.3

React v0.14.3

It's time for another installment of React patch releases! We didn't break anything in v0.14.2 but we do have a couple of other bugs we're fixing. The biggest change in this release is actually an addition of a new built file. We heard from a number ... more


Monday, 2 November, 2015 UTC

React v0.14.2

React v0.14.2

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. ... more


Wednesday, 28 October, 2015 UTC

React v0.14.1

React v0.14.1

After a couple weeks of having more people use v0.14, we're ready to ship a patch release addressing a few issues. Thanks to everybody who has reported issues and written patches! The release is now available for download: React Dev build with warnings: ... more


Monday, 19 October, 2015 UTC

Reactiflux is moving to Discord

Reactiflux is moving to Discord

TL;DR: Slack decided that Reactiflux had too many members and disabled new invites. Reactiflux is moving to Discord. Join us: http://join.reactiflux.com What happened with Slack? # A few weeks ago, Reactiflux reached 7,500 members on Slack. Shortly after, ... more


Wednesday, 7 October, 2015 UTC

React v0.14

React v0.14

We’re 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. If you tried the release candidate, thank ... more


Thursday, 1 October, 2015 UTC

React.render and the Top Level React API

React.render and the Top Level React API

When you're in React'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 ... more