GraphQL state

Data visualization for GraphQL state

GraphQL state क्या है?

GraphQL state Unknown द्वारा विकसित एक क्रोम एक्सटेंशन है, और इसकी मुख्य विशेषता है "Data visualization for GraphQL state"।

एक्सटेंशन स्क्रीनशॉट्स

screenshot
screenshot
screenshot
screenshot

एक्सएक्स एक्सटेंशन CRX फ़ाइल डाउनलोड करें

crx प्रारूप में GraphQL state एक्सटेंशन फ़ाइलें डाउनलोड करें, ब्राउज़र में क्रोम एक्सटेंशन को मैन्युअल रूप से स्थापित करें या दोस्तों के साथ crx फ़ाइलों को साझा करें ताकि क्रोम एक्सटेंशन को आसानी से स्थापित किया जा सके।

एक्सटेंशन उपयोग निर्देश

                        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?                    

एक्सटेंशन की मूल जानकारी

नाम GraphQL state GraphQL state
ID bhpeanmgkcpkpnkpmemoomlfflmaaddo
आधिकारिक URL https://chromewebstore.google.com/detail/graphql-state/bhpeanmgkcpkpnkpmemoomlfflmaaddo
विवरण Data visualization for GraphQL state
फ़ाइल का आकार 1.16 MB
स्थापना संख्या 154
वर्तमान संस्करण 0.3.1
अंतिम अपडेट 2021-12-16
प्रकाशन तिथि 2021-12-15
डेवलपर Unknown
ईमेल [email protected]
भुगतान के प्रकार free
एक्सटेंशन वेबसाइट https://github.com/babyfish-ct/graphql-state
समर्थित भाषाएँ en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "GraphQL state",
    "description": "Data visualization for GraphQL state",
    "version": "0.3.1",
    "manifest_version": 3,
    "devtools_page": "devtools.html",
    "icons": {
        "16": "images\/16_16.png",
        "32": "images\/32_32.png",
        "48": "images\/48_48.png",
        "128": "images\/128_128.png"
    },
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                "https:\/\/*\/*"
            ],
            "js": [
                "content-script.js"
            ]
        }
    ]
}