vevlins

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

  •  
  •   vevlins · Jul 19, 2018 · 2949 views
    This topic created in 2863 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   ·   930 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:35 · PVG 05:35 · LAX 14:35 · JFK 17:35
    ♥ Do have faith in what you're doing.