「GraphQL state」的項目標誌圖片

GraphQL state

擴充功能開發人員工具105 使用者
GraphQL state的項目媒體 4 (螢幕截圖)
GraphQL state的項目媒體 1 (螢幕截圖)
GraphQL state的項目媒體 2 (螢幕截圖)
GraphQL state的項目媒體 3 (螢幕截圖)
GraphQL state的項目媒體 4 (螢幕截圖)
GraphQL state的項目媒體 1 (螢幕截圖)
GraphQL state的項目媒體 1 (螢幕截圖)
GraphQL state的項目媒體 2 (螢幕截圖)
GraphQL state的項目媒體 3 (螢幕截圖)
GraphQL state的項目媒體 4 (螢幕截圖)

總覽

Data visualization for GraphQL state

This Chrome extension will add a panel named "GraphQL state" to your devtools. When you use the framework "https://github.com/babyfish-ct/graphql-state", it can help you debug. In the "GraphQL state" panel, you will see three tab pages: "Simple states", "Graph states" and "Evict Logs". 1. Simple states The framework supports simple state management similar to "recoil", this tab page can visualize all simple states for you. 2. Graph states The framework supports graph state management similar to "Apollo Client" and "Relay", its built-in normalized-cache is used to manage all data and relationships. This tab page can visualize this normalized-cache for you. 3. Evict Logs This is the core value of the framework. The essence of UI state is that one main mutation causes N extra mutations, the more complex the UI, the larger the N. The framework allows developer only focus on main mutation, all the extra mutations will be executed automatically. Compare with Apollo Client and Relay, after mutation, you neither need to update other affected data in the cache, nor need to determine which queries will be affected and need to be refetched. When the framework is automatically performing extra mutations, it can choose to modify the cache directly, or it may choose to evict affected data from cache (this will cause related queries to be refetched automatically). Obviously, the first choice is better than the second choice. This tab page lists the history of the second choice made by the framework, and tells the developer the following information. i. Why did the framework make the second choice? ii. Is it possible for developers to intervene in optimization and let framework make the first choice? iii. If so, what should developers do?

0 分 (滿分 5 分)無評分

進一步瞭解結果與評論。

詳細資料

  • 版本
    0.3.1
  • 已更新
    2021年12月16日
  • 大小
    1.16MiB
  • 語言
    English
  • 開發人員
    電子郵件
    babyfish.ct@gmail.com
  • 非交易商
    這位開發人員並未表明自己是交易商。歐盟地區的消費者請注意,消費者權利不適用於你和這位開發人員之間簽訂的合約。

隱私權

管理擴充功能,並瞭解貴機構的擴充功能使用情形
開發者已表示這項商品不會蒐集或使用你的資料。

這位開發者就你的資料做出下列聲明:

  • 經核准的用途外,不會將你的資料販售給第三方
  • 不會基於與商品核心功能無關的目的,使用或轉移資料
  • 不會為了確認信用度或基於貸款目的,使用或轉移資料
Google 應用程式