If you're doing this and still having an issue, my problem is I was calling two variables the same name.
I had companies
as an object brought in from Firebase, and then was trying to call this.setState({companies: companies})
- it wasn't working for obvious reasons.