stx0821
V2EX  ›  问与答

Angular12 的响应式原理是什么呢

  •  
  •   stx0821 · Nov 15, 2021 · 1446 views
    This topic created in 1657 days ago, the information mentioned may be changed or developed.
    也是和 Vue 一样通过 Object.defineProperty 实现吗,有没有用 Proxy 呢
    1 replies    2021-11-15 17:29:17 +08:00
    moen
        1
    moen  
       Nov 15, 2021
    ng 没有响应式,在状态发生变更的时候只能对组件做脏检查。这方面 ng 更像 React ,和 Vue 没什么关系
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2578 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 11:42 · PVG 19:42 · LAX 04:42 · JFK 07:42
    ♥ Do have faith in what you're doing.