vevlins

componentDidCatch 在生命周期中的触发时机是什么

  •  
  •   vevlins · Jul 19, 2018 · 3019 views
    This topic created in 2895 days ago, the information mentioned may be changed or developed.

    看过很多生命周期说明,虽然有说道 componentDidCatch,但是没有提及其时机如何

    2 replies    2018-07-19 15:46:43 +08:00
    RonaldoC
        1
    RonaldoC  
       Jul 19, 2018 via Android
    react?
    PyCode
        2
    PyCode  
       Jul 19, 2018
    记得这是 error boundary 里用的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   891 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 20:20 · PVG 04:20 · LAX 13:20 · JFK 16:20
    ♥ Do have faith in what you're doing.