renhou

Apollo GraphQL 的缓存机制是否可以替代 redux, vuex 做状态管理?

  •  
  •   renhou · May 19, 2022 · 1709 views
    This topic created in 1658 days ago, the information mentioned may be changed or developed.

    场景就是在 a 组件取得了数据,想要传给兄弟 b 组件
    一般想到的就是 eventbus 或者状态管理,但是想到 Apollo 有缓存功能就像试试
    试了半天感觉不如 eventbus 方便

    请问 Apollo GraphQL 真的可以代替状态管理和 eventbus 嘛?

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