betulac
V2EX  ›  问与答

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

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

    比如

    {this.state.getXXX()}

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