betulac
V2EX  ›  问与答

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

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

    比如

    {this.state.getXXX()}

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