-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
v2Available in v2Available in v2
Description
Hi again!
I tried setting "componentMethods": ["render"], in my .ccarc.
This results in the following:
class template extends Component {
constructor(props) {
super(props)
}
render(){}
render() {
return (
<div className="template"></div>
);
}
}
I see two issues here:
- duplicate
rendermethod - I didn't specify
constructor. Intuition would tell me that for a["render"]option, that method shouldn't be emitted. It could be emitted for[](i.e. by default), and for["constructor", "shouldComponentUpdate"](i.e. if explicitly specified).
Cheers - Victor
CVarisco
Metadata
Metadata
Assignees
Labels
v2Available in v2Available in v2