title: getUsers function get in the browser but doenst appear
body: <p>Im making a get Users function(React/Laravel) from a backend i made before(and its working, i use the same backend in a Vue project).</p>
  <pre><code>getUsers = async () =&gt; {
      await axios
  
          .get(url + &quot;api/alunos&quot;)
          .then((response) =&gt; {
              this.state.alunos = response.data;
              console.log(response.data)
              console.log(this.state.alunos)
          })
          .catch(function (error) {
              console.warn(error);
          });
  };
  
  
  componentDidMount() {
      this.getUsers();
  }
  </code></pre>
  <p>In the console.log(response.data) and console.log(this.state.alunos) i get the array(1)  data: Array(1)
  0: {id: 1, nome: &quot;Mary&quot;...}</p>
  <p>but doesnt appear in the browser, i get this error: Uncaught TypeError: Cannot read property 'map' of undefined</p>
  <p>the error is in the &quot;this.props.alunos.map&quot;:</p>
  <pre><code>          {this.props.alunos.map(aluno =&gt;
                  &lt;tr key={aluno.id}&gt;
                      &lt;td&gt;{aluno.id}&lt;/td&gt;
                      &lt;td&gt;{aluno.nome}&lt;/td&gt;
                  &lt;/tr&gt;
              )}
  </code></pre>
  <p>Variables:</p>
  <pre><code>state = {
      alunos: [],
      aluno: {
          nome: '',
      },
      data: [],
  }
  </code></pre>