Can anyone enlighten on the advantages or disadvantages to using React in a purely functional manner vs the OO approach.
Are there performance gains to get or is it a matter of preference?
            Asked
            
        
        
            Active
            
        
            Viewed 53 times
        
    -2
            
            
        
        Bjarke Sporring
        
- 528
 - 5
 - 7
 
- 
                    2Did you do any research? See e.g. https://stackoverflow.com/q/36097965/3001761, https://stackoverflow.com/q/59841274/3001761, https://stackoverflow.com/q/61859809/3001761, ... – jonrsharpe Jul 15 '20 at 18:11
 - 
                    @jonrsharpe apparently not. Thanks alot :) – Bjarke Sporring Jul 15 '20 at 20:09
 
1 Answers
0
            
            
        If you use functional components you can use the new react features like hooks and context API, but you can do the same thing with classes but without hooks!
        Zaid
        
- 29
 - 6