DEV Community

Discussion on: What Is The Render Props?

Collapse
 
jalex profile image
Alex

What do you think about the use of props as 'public class fields' instead be passed to the method super(props) of the constructor as is show in this video??:

https:// egghead.io /lessons/egghead-use-class-components-with-react

hope read your answer :)