renhou

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

  •  
  •   renhou · May 19, 2022 · 1549 views
    This topic created in 1597 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   ·   2251 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 609ms · UTC 05:58 · PVG 13:58 · LAX 22:58 · JFK 01:58
    ♥ Do have faith in what you're doing.