<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zukeeper on Medium]]></title>
        <description><![CDATA[Stories by Zukeeper on Medium]]></description>
        <link>https://medium.com/@zukeeper.tools?source=rss-6abc1c7922ce------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KxSVHPssDn9aL8AlM1onMg.png</url>
            <title>Stories by Zukeeper on Medium</title>
            <link>https://medium.com/@zukeeper.tools?source=rss-6abc1c7922ce------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 20:39:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zukeeper.tools/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Zukeeper: Bearable Zustand devtools]]></title>
            <link>https://medium.com/@zukeeper.tools/zukeeper-bearable-zustand-devtools-625c031417e9?source=rss-6abc1c7922ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/625c031417e9</guid>
            <category><![CDATA[zustand]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[devtools]]></category>
            <dc:creator><![CDATA[Zukeeper]]></dc:creator>
            <pubDate>Wed, 01 Mar 2023 21:29:26 GMT</pubDate>
            <atom:updated>2023-03-06T15:11:47.552Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ej-1rHTfJ5ji7_5XscrWg.jpeg" /><figcaption>Zustand, barebones state management</figcaption></figure><p><a href="https://docs.pmnd.rs/zustand/getting-started/introduction">Zustand’s</a> popularity continues to rise. The lightweight, hook-based state management solution is four times as popular on npm as it was one year ago, and at 1.3 million weekly downloads, Zustand has consistently outpaced Recoil, Jotai, and Mobx in 2023. Despite this attention, Zustand has thus far lacked comprehensive devtools of its own. That is, until now.</p><p><strong>Introducing: Zukeeper</strong></p><p>- <a href="#4367">Why do we need new devtools?</a><br>- <a href="#58c7">What is Zukeeper?</a><br>- <a href="#5c4f">How do I use it?</a><br>- <a href="#b8fa">What can it do?</a><br>- <a href="#a20b">How can I help?</a></p><h3>Why do we need new devtools?</h3><p>Thus far, Zustand’s major devtool options are integrations into other existing tools. In addition to recognizing <a href="https://github.com/beerose/simple-zustand-devtools">beerose’s third-party integration into the React tools</a>, Zustand’s documentation details how to adjust one’s store so it can be used by the Redux devtools (hereafter, RDT). It’s a useful feature, but it isn’t without its drawbacks.</p><p>Passing Zustand’s devtools( ) middleware into create( ) allows users to use some RDT functionality out of the box. Unfortunately, this setup doesn’t allow the tools access to action names; every step the user takes is logged as ‘anonymous.’</p><figure><img alt="A GIF showing the Redux devtools loging all actions as ‘anonymous’ when only using Zustand’s devtools() middleware" src="https://cdn-images-1.medium.com/max/1024/1*xkieohddGGzsvb53PqtRag.gif" /><figcaption>Using Zustand’s devtools( ) middleware out of the box</figcaption></figure><p>Users can solve this problem by passing additional arguments to each set( ) call when they create their store:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cBV8yxSojeGO3bhlhbha6A.png" /><figcaption>Preparing a store for integration into the Redux devtools</figcaption></figure><figure><img alt="A GIF showing the Redux devtools loging all actions by name when using optional parameters with devtools()" src="https://cdn-images-1.medium.com/max/1024/1*S0Argr36o5aPCP1EeJfTLw.gif" /><figcaption>Using devtools( ) with optional parameters</figcaption></figure><p>But, each call must be updated individually. That’s all well and good for our counter app, but it quickly grows tedious at scale.</p><p>Additionally, the RDT integration method is bugged when it tries to display state with deeply nested arrays. Note that for this store:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kauI6kXJpgHkKHaSDkj-3g.png" /><figcaption>A Zustand store with deeply nested state</figcaption></figure><p>This tree expands appropriately for nested objects, but doesn’t expand nested arrays at all.</p><figure><img alt="An image showing that using the Redux devtool integration does not correctly display state with deeply nested arrays" src="https://cdn-images-1.medium.com/max/1024/1*y06-lVqM3bSzpljuZz878w.png" /><figcaption>How integration with the Redux devtools handles deep nesting</figcaption></figure><p>All in all, setting up your Zustand application to work with RDT can be valuable, but the experience leaves room for improvement.</p><h3>What is Zukeeper?</h3><p>Zukeeper is a set of devtools for Zustand, in Zustand. v1.0.0 features action and state logging, diffing, state hierarchy visualization, and time travel debugging. It’s meant for the Zustand community, so it’s fully open source and in active development (flag issues, send us PRs!)</p><h3>How do I use it?</h3><p>Zukeeper was designed with simplicity in mind, and the setup reflects that. Here’s how you can start:</p><figure><img alt="An image showing how to implement Zukeeper when creating a Zustand store" src="https://cdn-images-1.medium.com/max/1024/1*SwwSSWYKMVT2XLAWS8ez1A.png" /><figcaption>Implementing Zukeeper</figcaption></figure><ol><li><a href="https://www.npmjs.com/package/zukeeper">npm install zukeeper</a></li><li>Import zukeeper into your store creation file</li><li>Pass zukeeper as middleware to create( )</li><li>Assign your store, as you named it, to window.store</li></ol><p>Zukeeper’s publication on the Chrome Web Store is awaiting Google’s approval, but in the meantime you can <a href="https://github.com/oslabs-beta/Zukeeper">clone our github repo</a> and load the extension into Chrome in developer mode. For further guidance on that process, <a href="https://bashvlas.com/blog/install-chrome-extension-in-developer-mode/">click here</a>.</p><p>That’s it! Once your extension is installed and your store is ready, you’re good to go. Zukeeper lives in the Chrome devtool panel, just as you’d expect. Open them up, and begin using the tools! We look forward to expanding to additional browsers in upcoming releases.</p><h3>What can it do?</h3><p>Zukeeper’s primary features are:</p><h4>Action and state tracking:</h4><figure><img alt="A gif showing action and state tracking in Zukeeper" src="https://cdn-images-1.medium.com/max/1024/1*Hr8qqfTnyCDrF4XHRuZBVQ.gif" /><figcaption>Action and state tracking in Zukeeper</figcaption></figure><h4>Diffing:</h4><figure><img alt="A gif showing diffing in Zukeeper" src="https://cdn-images-1.medium.com/max/1024/1*Z-vd2HGk19bSM-N8lo18bw.gif" /><figcaption>Diffing in Zukeepr</figcaption></figure><h4>State hierarchy visualization:</h4><figure><img alt="A gif showing state hierarchy visualization in Zukeeper" src="https://cdn-images-1.medium.com/max/1024/1*1D4fraB5VOmLXkPGx3636Q.gif" /><figcaption>State hierarchy visualization in Zukeeper</figcaption></figure><h4>Time travel debugging:</h4><figure><img alt="A gif showing time travel debugging in Zukeeper" src="https://cdn-images-1.medium.com/max/1024/1*nZ0yss0eJs7OC2TKAaZPBw.gif" /><figcaption>Time travel debugging in Zukeeper</figcaption></figure><p>and of course…</p><h4>Dark mode:</h4><figure><img alt="Image of Zukeeper in dark mode" src="https://cdn-images-1.medium.com/max/1024/1*4lyj6zu0NNEn2qbRKDWIWw.png" /><figcaption>Zukeeper in dark mode</figcaption></figure><h3>How can I help?</h3><p>Use Zukeeper! Hunt bugs, flag issues, and send us PRs! We’re excited to bring Zukeeper to the community, and we hope the community will be excited to improve it. <a href="https://github.com/oslabs-beta/Zukeeper">Here is the repo</a> — we look forward to your contributions!</p><p>If you’d like to reach us directly, you can reach us at the links below. Thanks for helping us bring Zukeeper to bear.</p><h3>Zukeeper Team</h3><p>Chris Olmsted — <a href="https://www.linkedin.com/in/ctolmsted/">LinkedIn</a>, <a href="https://github.com/ctolmsted">GitHub</a></p><p>George Vazquez — <a href="https://www.linkedin.com/in/georgehvazquez/">LinkedIn</a>, <a href="https://github.com/georgevaz">Github</a></p><p>Santi Lorenzo — <a href="https://www.linkedin.com/in/santi-lorenzo/">LinkedIn</a>, <a href="https://github.com/Santi-Lorenzo">GitHub</a></p><p>Stephen Lee — <a href="https://www.linkedin.com/in/stphnl/">LinkedIn</a>, <a href="https://github.com/stphnl">GitHub</a></p><p><em>Zukeeper, developed in partnership with OS Labs — Beta</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=625c031417e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>