renhou

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

  •  
  •   renhou · May 19, 2022 · 1271 views
    This topic created in 1470 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   ·   3246 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:50 · PVG 19:50 · LAX 04:50 · JFK 07:50
    ♥ Do have faith in what you're doing.