glortho/react-keydown

componentWillReceiveProps will be deprecated

Open

#87 aperta il 24 set 2018

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (40 fork)batch import
help wanted

Metriche repository

Star
 (505 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

According to React, using componentWillReceiveProps() is a bad idea and it will be deprecated soon, version 17 seems to be the last supporting the method with that name.

When using keydown for classes, what should be the proper way to handle the key events?

Guida contributor