<?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 Parham Zare on Medium]]></title>
        <description><![CDATA[Stories by Parham Zare on Medium]]></description>
        <link>https://medium.com/@parhamzare?source=rss-5fa901ff95f4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*vwcqSzSYODyZ7ab4MtqIsw.jpeg</url>
            <title>Stories by Parham Zare on Medium</title>
            <link>https://medium.com/@parhamzare?source=rss-5fa901ff95f4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:48:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@parhamzare/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[Redux Tuner]]></title>
            <link>https://medium.com/@parhamzare/redux-tuner-b2240b76058a?source=rss-5fa901ff95f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2240b76058a</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[redux]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Parham Zare]]></dc:creator>
            <pubDate>Thu, 12 Sep 2019 09:57:43 GMT</pubDate>
            <atom:updated>2019-09-12T17:15:10.766Z</atom:updated>
            <content:encoded><![CDATA[<p>Improve speed and provide faster rehydrate data, support for React &amp; Redux Application</p><p><strong>About Me</strong></p><p>Hello, my name is Parham Zare and I am a Back End developer with industry experience building websites, web applications, And Mobile applications. I specialize in JavaScript and have professional experience of working with NodeJs, React And React-native. I also have experience working with PHP, Python, AngularJs, and C#.</p><p><strong>What is a Redux Tuner?</strong></p><p>When some action called and dispatched the data stored in the store of redux and you can access data with the container in your component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g3lSm2kdADAeQevSgmuwLg.png" /><figcaption>Flux Architecture</figcaption></figure><p>But I had one issue on mobile application and large web application when data is large, your app starting to slow because all state stored in memory and I write one middleware to store data in the disk and generate some key and store key in the redux store like bellow chart</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XZoMHiHa3TFoJ3hlFedODA.png" /></figure><p>When some action called and dispatched the middleware checking action and if the action has an object or array type the middleware save data in DB and generate a unique key and replace key instead of an object or array. as the below picture is shown</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WQdaF2U8qocv1i3NaXDHFw.png" /></figure><p>and when you need data from the store the key transformed to real data and you can access data in your components.</p><p>when your app restarted the redux tuner rehydrate key and stored again in redux and the user can start again with prev state</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wy_KWkg0LGGXKqm69wErBg.png" /><figcaption>redux-tuner rehydrate</figcaption></figure><p><strong>Conclusion</strong></p><p>When you write a mobile application or large website the big data cause a slow speed of application and slow navigate between page. and I decided to wrote a redux tuner to store data in the database in the web application I use indexedDB and in a mobile application I stored data in the Realm and web application or mobile application can breathe now.</p><p><strong>Github Repo of Redux Tuner</strong></p><p><a href="https://github.com/ParhamZare/redux-tuner">https://github.com/ParhamZare/redux-tuner</a></p><h3>Thanks</h3><p>thank you so much for reading until there. Any personal tips to share? Don’t be shy and comment :) Any question you still have? Please put it there, and I’ll do my best to answer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2240b76058a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>