Closed Raynos closed 3 years ago
I audited the rest of the class where we used .id and relied on the _checkId() logic and there were basically no cases.
.id
_checkId()
The important place where we call _checkId() is assignment to this.state in the getter/setter.
this.state
I ended up removing the redundant getter/setter.
I audited the rest of the class where we used
.id
and relied on the_checkId()
logic and there were basically no cases.The important place where we call
_checkId()
is assignment tothis.state
in the getter/setter.I ended up removing the redundant getter/setter.