From 6102e015c38fbfb1522e4645e6ef8b19a37bb6d1 Mon Sep 17 00:00:00 2001 From: Konstantin Tarkus Date: Wed, 28 Jan 2015 15:50:23 +0300 Subject: [PATCH] Fix a typo in 2015/01/27 blog post --- blog/2015/01/27/react-v0.13.0-beta-1.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/2015/01/27/react-v0.13.0-beta-1.html b/blog/2015/01/27/react-v0.13.0-beta-1.html index 98c91d3a53..ab3a8ffa5e 100644 --- a/blog/2015/01/27/react-v0.13.0-beta-1.html +++ b/blog/2015/01/27/react-v0.13.0-beta-1.html @@ -116,7 +116,7 @@ React.render(<HelloMessage name="Sebastian" />, mountNode); -

The API is mostly what you would expect, which the exception for getInitialState. We figured that the idiomatic way to specify class state is to just use a simple instance property. Likewise getDefaultProps and propTypes are really just properties on the constructor.

+

The API is mostly what you would expect, with the exception for getInitialState. We figured that the idiomatic way to specify class state is to just use a simple instance property. Likewise getDefaultProps and propTypes are really just properties on the constructor.

export class Counter extends React.Component {
   constructor(props) {
     super(props);