What is the difference between using constructor vs getInitialState in React / React Native?
Asked 07 September, 2021
Viewed 591 times
  • 60
Votes

I've seen both used interchangeably.

What are the main use cases for both? Are there advantages / disadvantages? Is one a better practice?

8 Answer