AndrewRayCode / AndrewRayCode/Unique-Id-Mixin

How to use with React components written in ES6.

未關閉
#3 1 則留言 0 個 reaction 已指派 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 摘要。