Im new to React, can someone tell me why is this happening…?

后端 未结 0 1662
难免孤独
难免孤独 2021-01-29 04:04

This is the code

import React from "react"

let x = 0;

const App = () => {
  x++;
  console.log(x)

  return(
    

{x}<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题