nytai edited a comment on pull request #11002:
URL: 
https://github.com/apache/incubator-superset/pull/11002#issuecomment-697012273


   I agree for the most part. Functional components + hooks work quite 
differently than class based components. For new components it absolutely makes 
sense to _prefer_ functional components, especially for new components. I just 
wanted to point out that refactoring class components to be function components 
requires rethinking the entire implementation and can result in unexpected bugs 
that are difficult to diagnose. It is a significantly more complex task than 
say converting a component from jsx to tsx. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to