Data visualization for GraphQL state
GraphQL state Extension
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?
Source Manifest.json
How to download and manually install GraphQL state extension for Chrome
Looking for a way to install GraphQL state extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install GraphQL state extensions manually, this article outlines two simple methods to effortlessly install GraphQL state extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download GraphQL state extension and manually install through Drag &Drop
If you ever need to manually install a GraphQL state extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the GraphQL state Extension by clicking the "Download CRX" button on the website.
Look for the GraphQL state extension you wish to install. Go to the website and download the GraphQL state extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for GraphQL state extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the GraphQL state extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download GraphQL state extension for Chrome and install in Developer Mode
This is another method to install GraphQL state extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the GraphQL state extension file
Select and download the GraphQL state extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the GraphQL state extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your GraphQL state extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the GraphQL state extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install GraphQL state extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
Apollo Tracing 126 2 ★ 97.43KiB
GraphQL developer tools 126 24 ★ 98.19KiB
Graphql-devtools 126 2 ★ 1.57MiB
GraphQL DevTools 126 7 ★ 521KiB
GraphQL Playground for Chrome 126 9 ★ 1.36MiB
GraphQL Network Inspector 126 123 ★ 8.34MiB
GraphiQL extension 126 4 ★ 601KiB
AEM Chrome Tools 126 0 ★ 533KiB
Querio - GraphQL and HTTP requests inspector 126 8 ★ 2.1MiB
Altair GraphQL Client 126 68 ★ 6.78MiB
Apollo Inspector 126 1 ★ 395KiB
Is This GraphQL 126 2 ★ 1.05MiB
Graphql Inspector 126 0 ★ 2.33MiB
Apollo Client Devtools 126 266 ★ 490KiB
Graphql Query Generator 126 5 ★ 1.9MiB
React Context DevTool 126 21 ★ 2.35MiB
Saturn 126 4 ★ 569KiB
ChromeiQL 126 32 ★ 682KiB
React Stores Devtools Extension 126 0 ★ 716KiB
Reactime 126 33 ★ 803KiB
React Performance Devtool 126 11 ★ 170KiB
React Repositories New Tab 126 0 ★ 728KiB
Relay Developer Tools 126 6 ★ 106KiB
Esri AEM Chrome Extension 126 2 ★ 24.8KiB