front-end/react
[ReactJS] ECMA2016 super() 메소드와 component
필로그래머
2017. 12. 11. 23:39
■ ReactJS: constructor()
Q. constructor() 사용 시에 super() 메서드를 사용해야 하는 이유
- 'this' is not allowed before super() error
A. http://cheng.logdown.com/posts/2016/03/26/683329