renhou

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

  •  
  •   renhou · May 19, 2022 · 1325 views
    This topic created in 1496 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   ·   Solana   ·   5791 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 241ms · UTC 03:10 · PVG 11:10 · LAX 20:10 · JFK 23:10
    ♥ Do have faith in what you're doing.