Categories
Mastering Development

Access State in the Constructor?

How can I access a state in the constructor? For context, when using ‘this.state.count’ in the constructor, I receive the error: ‘TypeError: Cannot read property ‘count’ of undefined’.