AndrewRayCode / AndrewRayCode/Unique-Id-Mixin

How to use with React components written in ES6.

オープン
#3 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
15
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

This library looks like it solves the exact problem I am having.

However, I am using React components written in ES6, which "`extends React.Component`" rather than doing "`React.createClass(...)`".

According [to this page](https://toddmotto.com/react-create-class-versus-component/#mixins):

>React mixins are no longer supported when using React components written in ES6.

Do you know how I can use the "`Unique-Id-Mixin`" library in this scenario, or if I have any other options?

(Sorry for the noob question.)

Thanks in advance!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。