AndrewRayCode / AndrewRayCode/Unique-Id-Mixin

How to use with React components written in ES6.

Abierto
#3 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
15
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.