betulac
V2EX  ›  问与答

React 的 state 里面写方法会有什么隐患?

  •  
  •   betulac · May 23, 2019 · 2022 views
    This topic created in 2740 days ago, the information mentioned may be changed or developed.

    比如

    {this.state.getXXX()}

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3074 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:19 · PVG 13:19 · LAX 21:19 · JFK 00:19
    ♥ Do have faith in what you're doing.