betulac
V2EX  ›  问与答

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

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

    比如

    {this.state.getXXX()}

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