mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
One more typo fix in the 0.13 beta blog post
This commit is contained in:
@@ -115,7 +115,7 @@ class Counter extends React.Component {
|
||||
|
||||
Unfortunately, we will not launch any mixin support for ES6 classes in React. That would defeat the purpose of only using idiomatic JavaScript concepts.
|
||||
|
||||
There is no standard and universal way to define mixins in JavaScript. In fact, several features to support mixins was dropped from ES6 today. There are a lot of libraries with different semantics. We think that there should be one way of defining mixins that you can use for any JavaScript class. React just making another doesn't help that effort.
|
||||
There is no standard and universal way to define mixins in JavaScript. In fact, several features to support mixins were dropped from ES6 today. There are a lot of libraries with different semantics. We think that there should be one way of defining mixins that you can use for any JavaScript class. React just making another doesn't help that effort.
|
||||
|
||||
Therefore, we will keep working with the larger JS community to create a standard for mixins. We will also start designing a new compositional API that will help make common tasks easier to do without mixins. E.g. first-class subscriptions to any kind of Flux store.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user