AndrewRayCode / AndrewRayCode/Unique-Id-Mixin

How to use with React components written in ES6.

Aberta
#3 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
15
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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!

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.