<?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 Itai Klapholtz on Medium]]></title>
        <description><![CDATA[Stories by Itai Klapholtz on Medium]]></description>
        <link>https://medium.com/@itaikla?source=rss-bf95b4f233d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Itai Klapholtz on Medium</title>
            <link>https://medium.com/@itaikla?source=rss-bf95b4f233d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 15:28:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@itaikla/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[React-Scan: The Ultimate Debugging Sidekick!]]></title>
            <link>https://medium.com/@itaikla/react-scan-the-ultimate-debugging-sidekick-e6f526f38e00?source=rss-bf95b4f233d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6f526f38e00</guid>
            <category><![CDATA[client-side-rendering]]></category>
            <category><![CDATA[rendering]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-performance]]></category>
            <dc:creator><![CDATA[Itai Klapholtz]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 09:25:01 GMT</pubDate>
            <atom:updated>2025-09-22T09:25:01.674Z</atom:updated>
            <content:encoded><![CDATA[<p>React-Scan is a nice tool for detecting problematic bottelenecks on our front application.</p><p>According to their documentation, “React Scan automatically detects performance issues in your React app”.</p><p>Imagine this: You’ve just pushed out a new feature, and suddenly your app feels like it’s trudging through quicksand. You suspect a re-render issue, or maybe a component is updating way too often, but where do you even begin to look? This is where React-Scan swoops in, cape flowing, to save the day!</p><p>The main feature is to visualize re-renders, which may help to detect the most pinpoint excessive ones.</p><p>Locally, it can only help you by looking at the app’s activity, but the main advantage comes in production, where you can also monitor user activity to identify problematic and slow interactions. I haven’t tried the production feature yet, but it might be the most powerful aspect of the tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BEDL9kAdqq6FEoTa" /><figcaption>Photo by <a href="https://unsplash.com/@mike_van_den_bos?utm_source=medium&amp;utm_medium=referral">Mike van den Bos</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6f526f38e00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello unknown]]></title>
            <link>https://medium.com/@itaikla/hello-unknown-4eb607b96cab?source=rss-bf95b4f233d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/4eb607b96cab</guid>
            <category><![CDATA[typing]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[unknown]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Itai Klapholtz]]></dc:creator>
            <pubDate>Sun, 02 Mar 2025 16:25:34 GMT</pubDate>
            <atom:updated>2025-03-02T16:25:34.466Z</atom:updated>
            <content:encoded><![CDATA[<p>Seeing a lot of any in your TypeScript code?</p><p>One way to handle this is by using unknown- a safer alternative.<br>Like any, it allows you to store a value without knowing its type. However, unlike any, it forces you to check the variable&#39;s type before using it.</p><p>You can assign any value to an unknown variable, just like with any, but you cannot assign an unknown value to anything else (except any or another unknown) without a type assertion.</p><p>Sometimes, despite making the code a bit more cumbersome, unknown is the right choice. It depends on the specific case.<br>From my experience, it can improve code readability and, more importantly, reduce the risk of runtime errors in production.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4eb607b96cab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No More Pages]]></title>
            <link>https://medium.com/@itaikla/no-more-pages-881263e69e64?source=rss-bf95b4f233d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/881263e69e64</guid>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[development-company]]></category>
            <category><![CDATA[nextjs-app-router]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Itai Klapholtz]]></dc:creator>
            <pubDate>Mon, 05 Aug 2024 13:42:29 GMT</pubDate>
            <atom:updated>2024-08-05T13:42:29.168Z</atom:updated>
            <content:encoded><![CDATA[<p>In the realm of Next.js, change is the only constant. Our team recently answered the call to evolution, choosing to upgrade from the old <strong>pages</strong> router to the forward-thinking <strong>app</strong> router.</p><p>The primary motivation was to support React Server Components (RSC), with the added benefit of keeping the system updated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lmcPTi90rz8fQsk_" /><figcaption>Photo by <a href="https://unsplash.com/@limpido?utm_source=medium&amp;utm_medium=referral">Enrico Mantegazza</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>While the new format presents some appealing features, it also comes with certain limitations. I would like to present some of the considerations and insights from that transition.</p><h3><strong>Good</strong>:</h3><p><strong>Fetch API:</strong> The Fetch API integration in the App Router was seamless and efficient, simplifying data fetching and handling within our application. Its robust capabilities and straightforward usage were a welcome improvement over previous methods.</p><p><strong>Layouts:</strong> The introduction of layouts in the App Router provided a powerful way to structure our application. This feature allowed for more organised and reusable layout components, significantly improving the maintainability and scalability of our codebase.</p><p><strong>Removed <em>next/head</em>:</strong> The removal of <em>next/head</em> was a minor but noteworthy change, that streamlined the handling of head elements. This change reduced boilerplate code and made head management more intuitive within the new routing framework. Instead of using HTML elements like &lt;head&gt;, you can simply use <a href="https://nextjs.org/docs/app/building-your-application/optimizing/metadata">Metadata APIs</a>.</p><p><strong>Project Organization</strong>: Some new features enable colocation of files and new way of organising them. For example, one can define <a href="https://nextjs.org/docs/app/building-your-application/routing/colocation#private-folders">private folders</a> by using underscore prefixing, or <a href="https://nextjs.org/docs/app/building-your-application/routing/route-groups">group some sets of URLs</a> without affecting the path, by using parenthesis. On the other hand, some might argue that this approach could lead to confusion and clutter in the codebase.</p><h3>Bad:</h3><p><strong>Migration Efforts, Stopped in the Middle:</strong> The migration process required considerable effort and was halted midway due to unforeseen complications. This disruption affected our development timeline and required us to allocate additional resources to resolve the issues. So in fact, our transition to app router is ongoing, as we currently operate using both routing methods concurrently.</p><figure><img alt="Migration of birds, like migration of systems" src="https://cdn-images-1.medium.com/max/1024/0*pPOpXBnblgClkrTo" /><figcaption>Photo by <a href="https://unsplash.com/@jnaberle?utm_source=medium&amp;utm_medium=referral">Jan-Niclas Aberle</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>CSS Support:</strong> During the migration, we encountered significant challenges with CSS support, particularly with scoped styles and global styles. The existing CSS setup required substantial reworking to fit the new router’s structure, leading to frustration and delays.</p><p><strong>Confusing Notation of ‘use client’ and ‘use server’:</strong> The introduction of the ‘use client’ and ‘use server’ directives added a layer of confusion to the migration process. Differentiating between client-side and server-side code became more cumbersome, increasing the likelihood of errors and misconfigurations.</p><p><strong>Next.js 13 Use Server Components by Default:</strong> The default use of Server Components in Next.js 13 was both a blessing and a curse. While it aimed to enhance performance, it introduced unexpected behavior in our application, necessitating significant code refactoring and adaptation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=881263e69e64" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why you should convert your bad habits]]></title>
            <link>https://medium.com/@itaikla/why-you-should-convert-your-bad-habits-aa1e8a473db0?source=rss-bf95b4f233d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa1e8a473db0</guid>
            <category><![CDATA[productivity-hacks]]></category>
            <category><![CDATA[social-network]]></category>
            <category><![CDATA[productivity-tips]]></category>
            <category><![CDATA[habits]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Itai Klapholtz]]></dc:creator>
            <pubDate>Mon, 26 Jun 2023 06:47:34 GMT</pubDate>
            <atom:updated>2023-06-26T06:47:34.597Z</atom:updated>
            <content:encoded><![CDATA[<p>Everyone has heard about bad habits, and a lot of literature and advices have been written about that important issue. But reality is reality, and on practice, we are having trouble stopping bad habits.</p><p>But above all tips I’ve read and tried to apply, one idea stood out and helped me — converting habits.</p><p>For example, many people find themselves on infinite scrolling on your favorite social network. If so, we should try to <strong>convert</strong> this habit, by identifying the trigger. When the trigger is fired — you are bored and with your phone on your hand — do a similar but significantly different action, like scrolling on medium.com posts! That way, we don’t have to confront the addiction symptom, we just <strong>convert</strong> it to more positive actions.</p><p>If you’re tending to consume many sugary drinks, put just behind you a nice bottle of water, and convert the habit to a better one.</p><p>That way you can pick your own struggles, and deal with them smartly. Instead of fighting it, we can just adjust it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa1e8a473db0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Mistakes Junior Developers Do]]></title>
            <link>https://medium.com/@itaikla/7-mistakes-junior-developers-do-df7a4ba59c76?source=rss-bf95b4f233d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/df7a4ba59c76</guid>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Itai Klapholtz]]></dc:creator>
            <pubDate>Sat, 24 Jun 2023 19:51:23 GMT</pubDate>
            <atom:updated>2023-06-24T19:51:23.416Z</atom:updated>
            <content:encoded><![CDATA[<h3>1 — Don’t refresh yourself</h3><p>We tend to believe that the longer we work, the longer we move forward, and getting our tasks done faster. It may be correct, but not necessarily.<br>Productivity-time graph is not linear, means we should take break-ups sometimes. The medical recommendation is to walk shortly at least every 1 hour. Most of us don’t do that, but we should.<br>Because actually, many good ideas and insights happen at random times, like while eating and getting shower.<br>So have an energy refill. From time to time stand up, get outside, look at the sun (but not directly :) ) and drink water.</p><h3>2 — Not be aware of company business</h3><p>Some engineers I know don’t care about staff unrelated directly to their job. They are programmers, in every sense of the word. Because they basically just translate tasks to running code.<br>But if you want to step it up, you should get involved of the company business. Talk with employees from another departments like finance, to get another perspective of your company activities. Discuss more often with other engineers to understand more deeply software concepts. Do it for your personal development.</p><h3>3 — Don’t sharpen your knife</h3><p>Make some efforts to make your environment more comfortable, even a little bit.<br>Maybe you can debug tests with breakpoints instead of console.log? do that. You can write short script which may be helpful? Or even, you can set up your monitor for a more suitable configuration? go for it.<br>These things may be seem as a waste of time at first sight, but for the long term it’s mostly will save you time, indeed.<br>Those are just a few examples of ‘tasks’ that you don’t have to do, and as such, many people tend to procrastinate them, because they are not urgent.</p><h3>4 — Prevent yourself from unknown, big tasks</h3><p>By doing relatively complicated tasks, you can acquire hard skills more easily. Skills like whole-system-thinking, OOP coding, and more.<br>Besides, it strengthens your self-confidence as well as your believe in yourself.<br>So don’t be afraid of such tasks, and more than that — be active and move yourself for main position in your team or your R&amp;D department, for getting such responsibilities.</p><h3>5 — Underestimate task complete durations</h3><p>You sometimes may think that some task should take a little time, and eventually find out it doesn’t, because you had unexpected staff. But if you look at that more deeply, you see you always have such factors, like regression bugs and pull-request discussions. These factors are changing, but always exist. As said Heraclitus: ​​“The Only Constant in Life Is Change”. So assuming these staff will probably happen, help you provide more accurate estimation.<br>Assessing incorrectly might hurt your professional image, if repeating many times. So don’t be afraid of it too much, but take it into account.</p><h3>6 — Don’t learn from others</h3><p>Ask questions. Ask senior engineers, junior engineers, and ask other people in your company. You can learn something new from anybody.<br>Shyness and sensitivity are not bad character traits. They could be positive, and contribute to emotional intelligence. But they also may slow down your professional, personal progress. So if you’re shy — overcome the fear and consult with your colleagues.</p><h3>7 — Don’t appreciate life</h3><p>Appreciate the beautiful things of life. Maybe it sounds like a non-issue, which has nothing to do with software, but I believe that any person, no matter what his profession, should adopt it.<br>Life is too short for not being grateful. Call you parents, your friends. take a deep breath, enjoy the little things. Help someone else, because you never know what the future holds. Many people across the globe have no access to water, not to mention computers and internet like us. But you do. So be grateful for that, be grateful for everything you got.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df7a4ba59c76" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>