React Props is Not Defined
you’re miss-reading this error. props is not undefined, what is calling props is undefined, which is the this keyword. you can manually set the context of the map function by passing in a second parameter this.props.buildings.map(this.renderBuildings, this) or bind it inline this.props.buildings.map(this.renderBuildings.bind(this))