@samitouri / QOS-React / commits / 5494b267d9

Fix a typo (#8580)

SunHuawei committed Jan 24, 2017 at 00:43 UTC 5494b267d9c945251c6b04cc1a835e1cfcdc0314
1 file changed +1 -1
docs/_posts/2016-07-13-mixins-considered-harmful.md
+1 -1
@@ -440,7 +440,7 @@ Multiple components may be sharing `RowMixin` to render the header, and each of
440
441 If you see rendering logic inside a mixin, it’s time to extract a component!
442
443 -Instead of `RowMixin`, we will define a `<Row>` component. We will also replace the convention of defining a `getHeaderText()` method with the standard mechanism of top-data flow in React: passing props.
443 +Instead of `RowMixin`, we will define a `<RowHeader>` component. We will also replace the convention of defining a `getHeaderText()` method with the standard mechanism of top-data flow in React: passing props.
444
445 Finally, since neither of those components currently need lifecycle hooks or state, we can declare them as simple functions:
446