Please, help!
Have this component:
import React from 'react'
export default class extends React.Component { render() { console.log(this.props) const {data} = this.props console.log(data) //console.log(data.text) return ( <div className="row"> Test text! </div> ) } }
and this output (first object - this.props; second - data):
But when I try to uncomment
console.log(data.text)
I have: