constructor()
in
test.js [268:271]
4
lines of code
1
McCabe index (conditional complexity)
constructor(props) { super(props); this.state = {error: null}; }