React / Functional component / Conditional render on callback / Not Working

前端 未结 0 1277
野性不改
野性不改 2020-12-03 07:02

Why this does not work ?

import React from \'react\';

function Room() {
    let check = null;

    const ibegyouwork = () => {
        check = 

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