<?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 Kethra Packiam B on Medium]]></title>
        <description><![CDATA[Stories by Kethra Packiam B on Medium]]></description>
        <link>https://medium.com/@kethrapackiamb?source=rss-4dc44c14a1b4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*TMGV3KwBUFubZHIP</url>
            <title>Stories by Kethra Packiam B on Medium</title>
            <link>https://medium.com/@kethrapackiamb?source=rss-4dc44c14a1b4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:06:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kethrapackiamb/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[Design Thinking : The Secret Behind Great Products…]]></title>
            <link>https://medium.com/@kethrapackiamb/design-thinking-the-secret-behind-great-products-3e42a13ae506?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e42a13ae506</guid>
            <category><![CDATA[product-design-process]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[good-products]]></category>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 04:44:06 GMT</pubDate>
            <atom:updated>2026-02-22T04:44:06.853Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered why some products become everyone’s favorite? Why people feel comfortable using them again and again?</p><p>The secret behind these successful products is Design Thinking.</p><p>Because a great product is not just about features. It should feel comfortable for users. It should be easy to handle, trustworthy, secure, efficient and stable.</p><blockquote>when a product is built by understanding users deeply, it becomes reliable and lovable.</blockquote><p>That’s why great products are created using Design Thinking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_kbg69gh27mEtqC6.jpg" /></figure><p>Now Let’s understand the process behind Design Thinking.</p><p>Let’s dive deep into how it actually works.</p><p>There are five important steps to build a great product using Design Thinking.</p><ol><li>Empathize</li><li>Define</li><li>Ideate</li><li>Prototype</li><li>Test</li></ol><p>These five steps help us to understand users clearly, finding the clear problems, create smart solutions and test them.</p><h3>Step 1 : Empathize</h3><blockquote>Research Your User’s Needs</blockquote><p>First, we need to clearly understand the real problem from the users.</p><p>Not just from one person — but from many users.</p><p>Because when we collect problems from different users, we get different perspectives and new ideas. Every user thinks differently. So their problems and expectations may also be different.</p><p>By properly gathering their problems, we can understand wht they actually need.</p><p>This helps us to:</p><ul><li>Focus on the most important features</li><li>Add features that most users really want</li><li>Remove unnecessary or unwanted features</li></ul><p>When we understand users, we can build a product that solves the real problem.</p><h3>Step 2 : Define</h3><blockquote>State Your user’s Needs and Problems</blockquote><p>In the Define Stage, we clearly identify and frame the real problem.</p><p>After collecting all the insights from users in the Empathize stage, now we organize them properly. We analyze the problem deeply and connect it with our idea. We should focus only on the real issue — not on assumption.</p><p>Here, the problem statement must be written in a human centered way.</p><p>It should talk about the user’s needs, not about what we want to build.</p><p>This stage helps the design team like :</p><ul><li>Understand the core problem clearly.</li><li>Filter out unnecessary confusion.</li><li>Focus on the right direction.</li></ul><p>By defining the problem correctly, we can create a strong and clear problem statement. This helps us concentrate on solving that specific problem and build the product according to the real needs of users.</p><p>When the problem is defined clearly, the half of the solution is already ready.</p><h3>Step 3 : Ideate</h3><blockquote>Creating Ideas for the Problem Statement</blockquote><p>In this third stage, we start generating ideas to solve the problem.</p><p>The problem was collected in the Empathize stage and clearly organized in the Define stage. Now, in the Ideation stage, we focus on creating solutions for that specific problem.</p><p>Here, we don’t limit our thinking.</p><p>We create hundreds of ideas — even possible and impossible solutions. Because sometimes, crazy ideas can lead to innovative solutions.</p><p>This stage helps us to :</p><ul><li>Think freely without restrictions.</li><li>Expand our thinking space.</li><li>Explore different creative directions.</li></ul><p>Techniques like Brainstroming and Worst possible Ideas are commonly used in this stage. These methods encourage open thinking and remove the fear of giving wrong ideas.</p><p>The main goal of this stage is to find the solution for the problem — not immediately. But to explore as many ideas as possible.</p><h3>Step 4 : Prototype</h3><blockquote>Start to Create Solution</blockquote><p>In this stage, we start moving towards the actual solution.</p><p>From the Ideation stage, we selected some strong ideas. Now, we begin to turn those ideas into real forms. We start creating a basic version of the product using the thoughts and suggestions shared during ideation.</p><p>The main aim of this stage is to identify the best possible solution for the problems we discovered in the first three stages.</p><p>Here, the solutions are implemented in the form of prototypes. These prototypes are tested one by one. Based on user experience, each solution is:</p><ul><li>Accepted</li><li>Improved</li><li>Or Rejected</li></ul><p>This process helps us understand what works and what do not.</p><p>By the end of the Prototype stage, the design we will clearly understand:</p><ul><li>The strength of the product</li><li>The limitations it has</li><li>The Challenges it may face</li></ul><p>Prototype is not about building the final product. It is about learning before building the final product.</p><h3>Step 5 : Test</h3><blockquote>Test the Solution with Real Users</blockquote><p>In this final stage, we test the prototype with real users.</p><p>After creating the prototype in the previous stage, now we give it to users and observe how they use it. We carefully watch their reactions, feedback, and difficulties while using the product.</p><p>The main goal of this stage is to check whether the solution really solves the user’s problem or not.</p><p>In this stage:</p><ul><li>Users interact with the product</li><li>We collect honest feedback</li><li>We identify errors and issues</li><li>We understand what need improvement</li></ul><p>Sometimes the solution may work well. Sometimes it may fail.</p><p>If it fails, it’s not a problem. We go back, improve it, and test again. Design Thinking is not a straight line process — it is the process like again and again. We can return to previous stages anytime to get the solution.</p><p>Testing helps us ensure that we are building not just a product — but the right product for the users.</p><p><strong><em>Great products are not built by luck. They are built by understanding people deeply.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e42a13ae506" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remember Don’t Re-Render: Understanding useRef in React]]></title>
            <link>https://medium.com/@kethrapackiamb/remember-dont-re-render-understanding-useref-in-react-10bd122c7020?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/10bd122c7020</guid>
            <category><![CDATA[useref]]></category>
            <category><![CDATA[react-useref]]></category>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Thu, 05 Feb 2026 05:36:08 GMT</pubDate>
            <atom:updated>2026-02-05T05:36:08.363Z</atom:updated>
            <content:encoded><![CDATA[<p>In React, When we are building applications, we often need to remember values such as timers, previous values, counters or DOM elements across renders — these things are difficult and challenging without useRef.</p><p>Normal variables or state variables reset every time a component re-renders. It cause react to forget the previously stored values.</p><p>Directly accessing DOM elements using traditional JavaScript methods can interfere with React’s rendering flow and create unpredictable behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k_QB1we2Lp88J19y" /></figure><p>So, How do we remember values without causing re-renders and interact with the DOM elements without breaking react’s flow?</p><p>The answer is useRef()</p><p>UseRef is a React hook. It is designed to store mutable values persist between renders while staying invisible to React’s rendering cycle. It gives ability to maintain data, DOM elements, and avoid performance issues — all without creating unnecessary UI updates.</p><p><em>useRef stores data quietly in the background without affecting the rendering process.</em></p><p><strong>How to create ref ?</strong></p><pre>const containerRef = useRef(initialValue);</pre><p>when we create a ref, React returns an object with a single property called <strong><em>current</em></strong>, which can hold any value.</p><p>Example :</p><pre>const countRef = useRef(0);</pre><p>Here, <strong>countRef.current</strong> will remain the same even if the component re-renders multiple times.</p><blockquote>Changing the ref does not tell the React to re-render.</blockquote><p>Why? Because React tracks state and props for rendering — not refs.</p><pre>countRef.current = countRef.current + 1;</pre><p>React sees no reason to refresh the UI.</p><p>To truly understand the concept of useRef, you need to focus on three things.</p><ol><li>It does not cause re-renders</li><li>It helps in accessing DOM elements</li><li>It can remember previous values</li></ol><p>Let’s understand how <strong>useRef</strong> works by analyzing a practical example — a <strong>Words Counter</strong> application. In this component, <strong>useRef</strong> is used in three powerful ways</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ygUMVaTlx01QBe2QBB1JWw.png" /></figure><h3>1 ) useRef doesn’t cause Re-renders</h3><p>In this code, the word count is stored inside a ref:</p><pre>const wordCountRef = useRef(0);</pre><p>When the user types inside the textarea:</p><pre>wordCountRef.current = word.length;</pre><p>The value updates instantly. but React does <strong>not</strong> re-render the component.</p><p>Instead of using state to display the count, the UI is updated manually.</p><pre>counterDisplayRef.current.innerText = `${wordCountRef.current} words`;</pre><p>If useState is used for every keystroke — React would re-render on everry character typed. This may reduce the performance of the application.</p><p>By using useRef, he value updates silently without refreshing the entire component.</p><h3>2) Accessing DOM Elements</h3><p>Component uses refs to directly interact with DOM elements.</p><p>In this code, the auto focusing of the textarea is performed</p><pre>const textAreaRef = useRef(null);<br><br>useEffect(() =&gt; {<br>  textAreaRef.current.focus();<br>}, []);</pre><p>Here, useRef creates a reference to the textarea, it attaches that reference to the DOM element via the ref attribute.</p><p>Using <strong><em>current</em></strong> property, we call <strong><em>focus()</em></strong> once the component mounts.</p><h4>Updating the word counter display</h4><pre>const counterDisplayRef = useRef(null);</pre><p>Instead of re-rendering the component, we can directly update the paragraph:</p><pre>counterDisplayRef.current.innerText = `${wordCountRef.current} words`;</pre><blockquote>useRef acts as a bridge between React and the DOM.</blockquote><h3>3) Remembering Values between Renders</h3><p>Every time the component renders, normal variables would reset.</p><p>But not refs.</p><pre>const wordCountRef = useRef(0);</pre><p>Even after multiple renders, the ref continues holding the latest word count.</p><h4>Why this matters?</h4><p>Imagine storing the count in a normal variable:</p><pre>let wordCount = 0;</pre><p>It would reset on every render — making it unreliable.</p><blockquote>useRef remembers data without asking React to refresh the UI.</blockquote><p>It behaves like a memory container.</p><p>You can find the complete code in my GitHub repository.</p><p><a href="https://github.com/KethraPackiamB/react-hooks-deep-dive/blob/main/src/Components/WordsCounterByUseRef.jsx">react-hooks-deep-dive/src/Components/WordsCounterByUseRef.jsx at main · KethraPackiamB/react-hooks-deep-dive</a></p><p><em>If </em><strong><em>useState</em></strong><em> controls what users see, </em><strong><em>useRef</em></strong><em> manages what React remembers behind the scenes.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10bd122c7020" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How React Context API Saved Me from Prop Drilling]]></title>
            <link>https://medium.com/@kethrapackiamb/how-react-context-api-saved-me-from-prop-drilling-79fae92a8071?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/79fae92a8071</guid>
            <category><![CDATA[create-context]]></category>
            <category><![CDATA[usecontext]]></category>
            <category><![CDATA[context-api]]></category>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Mon, 02 Feb 2026 15:11:45 GMT</pubDate>
            <atom:updated>2026-02-02T15:11:45.619Z</atom:updated>
            <content:encoded><![CDATA[<p>At first, Passing props is easy in react, it feels simple and harmless. But, As our application grows, it feels very difficult. The unnecessary passing of data to the multiple component is occurred to reach the destination component. This unnecessary chaining is called Props Drilling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FxIPGW7CB-7DM98z.png" /></figure><h4>Showing a small prop drilling example</h4><blockquote><em>let’s look at a simple example to understand why prop drilling become a problem in real application.</em></blockquote><pre>// App Component<br>export const App = () =&gt; {<br>const user= &quot;Kethra&quot;<br>return &lt;Dashboard user={user}/&gt;<br>}<br><br>// Dashboard Component<br>export const Dashboard = ({user}) =&gt; {<br>return &lt;Sidebar user={user}/&gt;<br>}<br><br>// Sidebar Component<br>export const Sidebar= ({user}) =&gt; {<br>return &lt;Profile user={user}/&gt;<br>}<br><br>// Profile Component<br>export const Profile= ({user}) =&gt; {<br>return &lt;h1&gt;Hello, {user}&lt;h1/&gt;<br>}</pre><p>Here, Actually the Profile component needs the user value. Dashboard and sidebar component exist only to pass it down.</p><p>Let’s Overcome this problem with Context API.</p><h3>What is React Context API ?</h3><p>React’s Context API is the built-in hook for sharing the data across multiple components without passing props manually. It is designed to solve the most common pain point in React Application — Props Drilling.</p><p>Context API provides a cleaner and more scalable alternatives.</p><h3>Why Context API Exists ?</h3><p>The Core concept and idea behind the Context API is simple.</p><blockquote>Some data is not specific to the single component — it belongs to the application as whole.</blockquote><h4>Example :</h4><p>The Requirements such as :</p><ol><li>Toggle Theme (Dark or Light Mode)</li><li>Language Preference</li><li>Application Settings</li><li>Shopping Cart state</li></ol><p>Passing such data through every component just to reach that one that needs it create unnecessary coupling. Context API allow react component to access the shared data directly.</p><h3>How to use Context API?</h3><p>In a React Application, Context API works like a broadcast system. The steps that you will do in Context API are:</p><ol><li>You create the context to hold the shared data.</li><li>You wrap a part of your app with Provider, which supplies the data.</li><li>Any component inside the tree can consume the data directly.</li></ol><h4>Let’s see the core parts of context API with an example:</h4><p>This example demonstrates how React’s Context API can be used to manage global application settings like font Size, theme Color and layout — without passing the props through component.</p><p>The application consists of two main parts:</p><ol><li><strong>Setting Panel</strong> : Where the user updates preferences.</li><li><strong>User Panel</strong> : Where those preferences are applied directly.</li></ol><p>Both components are connected through a shared context.</p><h4>Core Parts:</h4><h3><strong><em>1. Creating the Context :</em></strong></h3><p>A context is created using React’s createContext function. This defines the container for shared data.</p><p>This step stays that <em>“This is the type of data I want to share globally”.</em></p><pre>export const SettingContext = createContext();</pre><p>At this stage, no data is stored yet. We are simply telling React — This application will have a shared settings context.</p><h3>2. Providing the context:</h3><p>After Creating the context, the next step is to provide the data. The data is provided in the Component.</p><ol><li>Storing global settings</li><li>Managing State Updates</li><li>Supplying value to child Components</li></ol><h4>Managing Shared Data:</h4><pre>const defaultSettings = {<br>  fontSize: &quot;17px&quot;,<br>  themeColor: &quot;#1D546D&quot;,<br>  layout: &quot;spacious&quot;,<br>};<br><br>const [settings, setSettings] = useState(defaultSettings);</pre><h4>Providing Values to the Context :</h4><pre>&lt;SettingContext.Provider<br>  value={{ settings, handleSettings, resetSettings }}<br>&gt;<br>  {children}<br>&lt;/SettingContext.Provider&gt;</pre><p>The value prop is the most important part :</p><ol><li>settings — current global state</li><li>handleSetting — Function to update Settings</li><li>resetSettings — Function to reset Settings</li></ol><p>Wrapping the Application</p><pre>&lt;SettingContextProvider&gt;<br>  &lt;SettingPanel /&gt;<br>  &lt;UserApp /&gt;<br>&lt;/SettingContextProvider&gt;</pre><h3>3. Consuming the Context :</h3><p>The final step is to consuming the context in the child component using useContext hook.</p><pre>const { settings, handleSettings, resetSettings } =<br>  useContext(SettingContext);</pre><p>From here we can consume the data, and the function for settings and reset options.</p><pre>&lt;div style={{ marginBottom: &quot;12px&quot; }}&gt;<br>          &lt;label htmlFor=&quot;&quot;&gt;Layout : &lt;/label&gt;<br>          &lt;select<br>            name=&quot;layout&quot;<br>            id=&quot;&quot;<br>            onChange={handleSettings}<br>            value={settings.layout}<br>          &gt;<br>            &lt;option value=&quot;spacious&quot;&gt;Spacious&lt;/option&gt;<br>            &lt;option value=&quot;compact&quot;&gt;Compact&lt;/option&gt;<br>          &lt;/select&gt;<br>        &lt;/div&gt;<br>        &lt;button onClick={resetSettings}&gt;Reset Settings&lt;/button&gt;</pre><p>This code demonstrates the practical use of React Context API to manage and share global application settings without prop drilling. It implements a centralized settings system that controls the<strong> </strong>theme color,<strong> </strong>font size, and layout style across multiple components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fPJOJPMIW5wWI8tLM05bMw.png" /></figure><p>The complete source code for this example is available on my GitHub repository for reference.</p><p><a href="https://github.com/KethraPackiamB/react-hooks-deep-dive/tree/main/src/Components/AppPanelSettingByContextAPI">react-hooks-deep-dive/src/Components/AppPanelSettingByContextAPI at main · KethraPackiamB/react-hooks-deep-dive</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79fae92a8071" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Less code, More Power: Using Jotai for React State Management]]></title>
            <link>https://medium.com/@kethrapackiamb/less-code-more-power-using-jotai-for-react-state-management-bddaf314a775?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/bddaf314a775</guid>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Sun, 06 Jul 2025 08:59:15 GMT</pubDate>
            <atom:updated>2025-07-06T09:06:37.102Z</atom:updated>
            <content:encoded><![CDATA[<h3>“Less code, More Power: Using Jotai for React State Management</h3><p>Now I am here to explain the State Management in your React app in a simple and Lightweight way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v4GI0tNSQjn2IQWd.png" /></figure><p>In React, “State” means the data, your app is using.</p><p>When the button is clicked, the value typed in the input box and the value is updated — These are the changes that you’re made in your app.</p><p>When you are giving the details of yours in the input fields that should be managed for to show it in the another component — like when you are creating the account in any application or websites, after getting into the application it show “welcome + {your name}”. Here, Your name is taken from the details that you have given.</p><p>Basically, We often use props to manage the data to another functional component by making the one component as parent and the another component as child. The parent component can share the data to the child component using props.</p><p>Here’s the one thing, if the need of the data from the child component to the parent component. The Child component can’t act as the parent component to share the data from child to parent.</p><p>But, It can be achieved by that the child can communicate back to the parent using functions passed as props.</p><h4>Example: Child sends data to Parent</h4><pre>//parent Component<br>export const Parent = () =&gt; {<br>const handleMessage = (msg) =&gt; {<br>alert(&quot;Message from child: &quot; + msg);<br>};<br><br>return(<br>&lt;div&gt;<br>&lt;Child sendMessage={handleMessage}/&gt;<br>&lt;/div&gt;<br>)<br>};<br><br>//Child Component<br>export const Child = () =&gt; {<br>return(<br>&lt;button onClick={()=&gt;sendMessage(&quot;Hi Parent&quot;)}&gt;Click to talk to Parent&lt;/button&gt;<br>)<br>};</pre><p>It is the difficult way to manage the state for many functional components.</p><p>In real time projects, there may many functional components and there is the need to work and manage on large number of data to pass over the multiple components.</p><p>There we may face difficulty and confusion of using the simple concept like props.</p><p>So that, now we are going to use jotai.</p><h3>Jotai? What is Jotai?</h3><p>Jotai is a <strong>state management library </strong>for React. It helps you to manage the data (or “state”) of your app in a simple and modern way.</p><p>Jotai = Simple State. Maximum Control.</p><p>Jotai named the single data or smallest unit of state is named as atom.</p><p>The word “Jotai” means “atom” in Japanese.</p><p>Jotai is like a container to hold and share data between components. Every data that can be stored in the file, that can be easily get to the every component.</p><p>It is easy to use and lightweight. you can create atom to store data, and components can read or update that data directly.</p><p>Atoms can hold:</p><ol><li>String</li><li>Numbers</li><li>Booleans</li><li>Arrays</li><li>Objects</li></ol><p>It re-renders to change the particular data which have changed.</p><h3>How to Start with Jotai?</h3><p>Here is the simple example =&gt;</p><h4>Step 1:</h4><p>Install Jotai in you react project</p><pre>npm install jotai</pre><h4>step 2:</h4><p>Declare the Atom</p><pre>//sampleData<br>import {atom} from &quot;jotai&quot;;<br><br>export const sampleData = atom({<br>    name: &quot;Devi&quot;,<br>    department: &quot;ECE&quot;,<br>    age: &quot;18&quot;,<br>    email: &quot;devi@gmail.com&quot;,<br>    location: &quot;Theni&quot;<br>})</pre><p>This is how we have to declare the atom.</p><h4>Step 3:</h4><p>Now, we are going to use this atom to another functional component.</p><pre>//StudentDetails<br>import { sampleData } from &quot;./sampleData&quot;; <br>import {useAtom} from &quot;jotai&quot;;<br><br>const export StudentDetails = () =&gt; {<br><br>const [studentData] = useAtom(sampleData);<br><br>return(<br>&lt;div&gt;<br>  &lt;h1&gt;Student Details&lt;/h1&gt;<br>  &lt;p&gt;Name : {studentData.name}&lt;/p&gt;<br>  &lt;p&gt;Department : {studentData.department}&lt;/p&gt;<br>  &lt;p&gt;Age : {studentData.age}&lt;/p&gt;<br>  &lt;p&gt;Email : {studentData.email}&lt;/p&gt;<br>  &lt;p&gt;Location : {studentData.location}&lt;/p&gt;<br>&lt;/div&gt;<br>)<br>}</pre><p>This is how we can use or access the data from the atom — where the whole data can be declare their and use that into many Functional Component.</p><h3>Alternatives of jotai:</h3><p>some of the alternatives of jotai</p><ol><li>Redux</li><li>Recoil</li><li>Zustand</li><li>Context</li></ol><h3>Benefits in Jotai</h3><ol><li><strong>Simple &amp; minimal</strong>: One hook (useAtom) does most of the work.</li><li><strong>Re-renders only when needed</strong>: Very efficient</li><li><strong>Composable atoms</strong>: Easy to build complex state from small parts</li></ol><p>Jotai brings the <strong>power of state isolation</strong>, <strong>minimalism</strong>, and <strong>re-render optimization</strong> together in a tiny package. It gives you the benefits of global state.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bddaf314a775" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Struggling with Routing in React? Here’s What You Need to Know]]></title>
            <link>https://medium.com/@kethrapackiamb/struggling-with-routing-in-react-heres-what-you-need-to-know-edfc61a825a2?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/edfc61a825a2</guid>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Fri, 30 May 2025 08:40:22 GMT</pubDate>
            <atom:updated>2025-05-30T08:44:32.862Z</atom:updated>
            <content:encoded><![CDATA[<p>Here I am going to give you the brief explanations about how the page of websites navigate to another page by click. The concept that what are the functions that can be performed between the navigation of page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hlmaDMUfYYHe_ylx.png" /></figure><p>The Routing of the User Interfaces is achieved by React Router Dom. In React, React Router Dom concept is used to make navigation among the user Interfaces.</p><p>Routing is the process, it determines that which content to display based on the URL path the user visits.</p><blockquote>Routing lets users navigate between different pages or views in your website without reloading the page.</blockquote><h4>Routing in Traditional Methods</h4><p>Every link (like /about, /contact) requests a New HTML page for the server. By this, the page reloads happens at ever HTML page navigation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*zmNr9isXxro6SOeW7b8crg.png" /></figure><h4>Routing in Single Page Applications (SPA) — like React</h4><p>Only one HTML page is loaded. It updates the visible content without reloading the entire Page.</p><h3>React Router DOM</h3><p>React Router DOM is the standard routing library for React Applications that runs in the Browser.</p><p>It Helps you to create a Single page Applications (SPAs) with multiple view are pages. It helps to maintain Dynamic.</p><p>Here we can move forward or backward. The pages that we click to forward, the path of the pages is stored, it helps to move to the previous page by backward.</p><h3>Predefined or Core Components of React Router DOM</h3><p>There are Four Core Components of React Router DOM</p><ol><li>BrowserRouter</li><li>Routes</li><li>Route</li><li>Link</li></ol><p><strong>BrowserRouter</strong> — It enables routing using the browser’s history API and It also wraps your app with this.</p><p><strong>Routes</strong> — It is the container for all route components.</p><p><strong>Route</strong> — It defines the mapping between a URL path and a React Component.</p><h4>The Example for all the core components of React Router DOM:</h4><pre>import { BrowserRouter, Routes, Route, Link } from &#39;react-router-dom&#39;;<br><br>export const Home = () =&gt; {<br>  return (<br>&lt;h1&gt;Home&lt;/h1&gt;<br>);<br>};<br><br>export const About = () =&gt; {<br>  return (<br>&lt;h1&gt;About&lt;/h1&gt;<br>);<br>};<br><br>function App() {<br>  return (<br>    &lt;BrowserRouter&gt;<br>      &lt;nav&gt;<br>        &lt;Link to=&quot;/&quot;&gt;Home&lt;/Link&gt; | &lt;Link to=&quot;/about&quot;&gt;About&lt;/Link&gt;<br>      &lt;/nav&gt;<br>      &lt;Routes&gt;<br>        &lt;Route path=&quot;/&quot; element={&lt;Home /&gt;} /&gt;<br>        &lt;Route path=&quot;/about&quot; element={&lt;About /&gt;} /&gt;<br>      &lt;/Routes&gt;<br>    &lt;/BrowserRouter&gt;<br>  );<br>}</pre><h3>The Hooks of React Router DOM</h3><p>The Hooks of the React Router DOM are</p><ol><li>useNavigate()</li><li>useParams()</li></ol><p><strong>useNavigate()</strong> — It is the hook used for navigation to the next page.</p><p><strong>useParams()</strong> — It is used for Dynamic Routing.</p><h4>The Example for hooks in React Router DOM</h4><ol><li>Function Component NavigateExample.jsx</li></ol><pre>// NavigateExample.jsx<br>import { useNavigate } from &#39;react-router-dom&#39;;<br><br>export const NavigateExample = () =&gt; {<br>  const navigate = useNavigate();<br><br>  const handleClick = () =&gt; {<br>   navigate(&#39;/about&#39;);<br>  };<br><br>  return (<br>    &lt;div&gt;<br>      &lt;h2&gt;Home Page&lt;/h2&gt;<br>      &lt;button onClick={handleClick}&gt;Go to About&lt;/button&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><p>2. function Component UserProfile.jsx</p><pre>// UserProfile.jsx<br>import { useParams } from &#39;react-router-dom&#39;;<br><br>export const UserProfile = () =&gt; {<br>  const { id } = useParams(); <br>  return (<br>    &lt;div&gt;<br>      &lt;h2&gt;User Profile&lt;/h2&gt;<br>      &lt;p&gt;User ID: {id}&lt;/p&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><p>3. App.js</p><pre>// App.js<br>import { BrowserRouter, Routes, Route } from &#39;react-router-dom&#39;;<br>import NavigateExample from &#39;./NavigateExample&#39;;<br>import UserProfile from &#39;./UserProfile&#39;;<br><br><br>function App() {<br>  return (<br>    &lt;BrowserRouter&gt;<br>      &lt;Routes&gt;<br>        &lt;Route path=&quot;/&quot; element={&lt;NavigateExample /&gt;} /&gt;<br>        &lt;Route path=&quot;/user/:id&quot; element={&lt;UserProfile /&gt;} /&gt;<br>      &lt;/Routes&gt;<br>    &lt;/BrowserRouter&gt;<br>  );<br>}</pre><h3>The Hooks for History API in browsers</h3><p>The Hooks for History API in browsers are:</p><ol><li>pushState()</li><li>replaceState()</li><li>popState()</li></ol><p><strong>pushState()</strong> — It adds a new entry to the browser’s session history stack.</p><p><strong>replaceState()</strong> — It replaces the current entry in the history stack instead of adding a new one.</p><p><strong>popState()</strong> — It is used to detect the when users press forward or back buttons.</p><h3>Alternates of React Router DOM</h3><p>The some of the the Alternates of the React Router DOM are TanStackRouter, Wouter, Next.js Router.</p><h3><strong>Installation of React Router DOM:</strong></h3><pre>npm install react-router-dom</pre><p>Website navigation may seem easy, but there is a lot things happening behind the scenes , from changing the URL to rendering the new content without reloading the page. Understanding these core concepts helps you build smoother, faster, and more dynamic web applications. Keep exploring, keep building — every click tells a story!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edfc61a825a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kickstart Your React Project with Create React App]]></title>
            <link>https://medium.com/@kethrapackiamb/kickstart-your-react-project-with-create-react-app-0d03bfcff146?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d03bfcff146</guid>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Sun, 25 May 2025 14:20:54 GMT</pubDate>
            <atom:updated>2025-05-25T14:20:54.813Z</atom:updated>
            <content:encoded><![CDATA[<p>React? What is React? Why we are using React? How React is working? What are the advantages of React? What is the purpose of using React for Applications?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0j4T5bl3e5w4Tyit" /></figure><p>We are using React to create single page applications. Have you ever think of this why we are using react to create applications? what are the benefits are their in React than JavaScript.</p><h3>What is React?</h3><p>React is a JavaScript library used for building user interfaces for web and native platforms. It’s known for its component-based architecture, making it easy to create reusable UI elements.</p><h3>Can’t we create Web applications only by using HTML and JavaScript?</h3><p>Yes, It is possible to make a web app with just JavaScript. A simple website can be created using only HTML, CSS and JavaScript. By creating web applications only by HTML, CSS and JavaScript can decrease the performance of Website and the time of loading each page of the website takes time. Because, By adding the JavaScript file to each page of HTML file takes more time to download on every click to navigate to a next page.</p><h3>“Does React download the JavaScript file each time, when a user clicks to navigate to a next page?”</h3><p>No, React does not download the entire JavaScript file each time when user clicks to navigate to a next page. The JavaScript bundle is downloaded once, When using react with client side routing, the application typically loads a Single Page Application (SPA).</p><p>After the initial loads the React Manages the navigation and page rendering within the browser without full page reloads. Here the only necessary part of code is loaded dynamically when needed- not the entire app again.</p><h3>What is SPA?</h3><p>The Single Page Application is the type of web application that loads the single HTML file and dynamically updates the content as that the user interact with the app without reloading the entire application. This can be achieved by React.</p><p>Faster user experience can be achieved. Because, Because only parts of the page update, interactions feel faster and smoother.</p><h3>What is bundling?</h3><p>Bundling is the process of combining the more files into single file. The process of bundling is based on the Application. The files can be a any type.</p><h4>Example:</h4><pre>/src<br>  ├── index.js<br>  ├── utils.js<br>  ├── style.css<br>  └── logo.png</pre><h3>What is SSR (Server Side Rendering)?</h3><p>SSR (Server Side Rendering) is the technique where the HTML for the web page is generated on the server and it is sent to client Browser, rather than built entirely with the JavaScript in the browser.</p><p>The server sends a fully rendered page of HTML to browser.</p><p>This allows the content of the page to appear faster and it is helps for SEO (Search Engine Optimization).</p><h3>What is SEO (Search Engine Optimization)?</h3><p>SEO (Search Engine Optimization) is the method of improving the website’s visibility in Search Engine results like Google, yahoo etc.</p><p>It helps users to find our site through Search Engines.</p><h3>Create React App</h3><p>The Steps of Creating React App. The environment of the react project is going to create with the following steps.</p><h4>Step 1: Install Node.js</h4><p>Install the node.js with the LTS version. And check it in the command prompt.</p><pre>node -v<br>npm -v</pre><h4>Step 2: Create React App</h4><p>Create a new folder for your react project -&gt; open your VS code -&gt; select the folder that you have created -&gt; Terminal -&gt; new Terminal -&gt; type the command</p><pre>npx create-react-app my-app</pre><p>Replace my-app with any other project name and this will set up everthing for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*xl0AVJ6JXzlBj7Nhydu5RQ.png" /></figure><p>After this execution.</p><h4>Step 3: Navigate to the project file</h4><pre>cd my_app</pre><h4>Step 4: Start Development Server</h4><pre>npm start</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Krcq_SsyTJdvK1Es2CmHUA.png" /></figure><p>By this the overall the project structure is created, all the necessary packages and dependencies are installed and the development server is started with live reload.</p><p>The Tree Structure of the project packages</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*vN59JPJv_HD4IP5BJZITtw.png" /></figure><p>The each folders has the meaningful functionality of the project. The contents of the folders contains the dependencies and packages.</p><h3>The Clear explanation and purpose of every folders in React</h3><h4>1. node_modules</h4><p>The node_modules contains all the JavaScript packages and dependencies that your project needs to run.</p><p>Here, we should never edit files inside node_modules. It’s auto-managed.</p><h4>2. public</h4><p>The public folder contains static files that are directly served to the browser without processing or bundling.</p><p>It contains index.html, favicon, logo and manifest.json files. It helps to define how our app behaves.</p><h4>3. src</h4><p>In React Project, the src folder is where you write all your application’s actual code.</p><h4>4. .gitignore</h4><p>The .gitignore file tells git which files or folders should be ignored and not tracked in your version control system and keep the repository clean, secure, efficient and light weight.</p><h4>5. package-lock.json</h4><p>It locks the versions of your installed dependencies to ensure consistent installations across different environments.</p><p>The package-lock.json file ensures your React project installs the same dependencies every time, making it stable, predictable, and secure.</p><h4>6. package.json</h4><p>It describes your project and manages its dependencies, scripts, and settings. The version of the dependencies are defined their and the major updates of the dependencies are not updated to the dependencies.</p><p>This how the React is working.</p><p>A well-structured React project isn’t just about writing components — it’s about understanding the tools and files that power your app behind the scenes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d03bfcff146" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Be Confident On Your Own Path, Don’t Get Disturbed With Your Own Imagination]]></title>
            <link>https://medium.com/@kethrapackiamb/be-confident-on-your-own-path-dont-get-disturbed-with-your-own-imagination-6ac76756b06f?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ac76756b06f</guid>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Sat, 24 May 2025 15:52:33 GMT</pubDate>
            <atom:updated>2025-05-24T15:52:33.660Z</atom:updated>
            <content:encoded><![CDATA[<p>Every one can relate to that, having the set of questions in their mind — Is that really worth for future, Is it is enough?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cNa2nT_whYzRTOZlTJl3fw.jpeg" /></figure><p>In the Developing technological world, Everyone is creating and introducing new things with the recent technology. It makes our confidence low and makes us tired to focus on our goal and feels like that we are nothing to that…</p><p>Everyday, Every minute, Every second the technologies are improving. but the core concept ,data structures and algorithms are not editable. Every new creations are always based upon the basic algorithms.</p><p>Day by Day what you are learning, is it is updated learning or new technology is not a matter. Everyday you are learning something new is matters. Updating your knowledge with some new things led you a better person.</p><p><em>Every single drop of water can fill the bucket. But, the filling of the bucket takes a long time. However, It is going to fill at a certain period of time.</em></p><p>In the sprinted world, all are searching for fast and quick method to find the solutions of their works. By the easy methods of works, the fingers are numbed to our well known works also. The practicing of the works in our daily life is just added into our muscle activity. Without any stress, difficulties and squinting our eyes to the works can be reduced.</p><p>By the easy methods like copy and paste of works may be easy today. But, One day the well know works also can be lost.</p><h3>Overcoming Comparison</h3><p>Comparing ourselves to others makes us feel low, rather than comparing ourselves to others, just build your own path and focus on it.</p><p>Stop feeling like that you are nothing, learn a small topics everyday, relate the every single topics to the real world examples and find the applications of the topics. By this you can easily remember the things that you’re daily learning.</p><p>Don’t be lazy. Be busy at your works. Don’t let your mind to think of negative things. Be positive on your own way and trust the process of learning.</p><p>Create new things by your learning, the rendering or presenting your works makes you positive, it develops your confident level.</p><h3>Mindfulness and presence</h3><p>Staying active in the present moment, rather than getting caught up in worries about the future or past.</p><p>Focusing on the present, currently doing activities can makes you active person and your surroundings filled with positive vibe. Don’t overthink on your future, just go with the flow of life and don’t pause or quit your process of your goal.</p><p>Sometimes the small insults and the moments which makes you feel uncomfortable are just the part of life. Every each person can relate to that, the person who are getting successful in their life is not a easy thing. The success comes from many failures, insults, ups, downs and rough paths. Don’t overthink on that, the failures, ups and downs shapes your life best.</p><p><em>The rock which hurts more can become sculptures.</em></p><p>The only thinking or dreaming about future and worrying and bothering about the past can’t change anything in your life. Your efforts, hard work, concentration, willingness and engaging yourself in works can build your life better.</p><p>Distractions are common among people. but, Come back from that is matters. The every person in the world having their responsibilities and purpose of them. But, the over focusing on your responsibility are also can makes yourself exhausted. The Small breaks from everything is the best handling of the works without making yourself tired. After the breaks, freshly starting of the work makes us energetic.</p><p><em>Go with the flow of life, Trust the process and hope, everything will become best.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ac76756b06f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Colors Colors Colors…..]]></title>
            <link>https://medium.com/@kethrapackiamb/colors-colors-colors-e52e485f138d?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e52e485f138d</guid>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Tue, 13 May 2025 14:15:54 GMT</pubDate>
            <atom:updated>2025-05-13T14:15:54.305Z</atom:updated>
            <content:encoded><![CDATA[<p>Can you imagine the world without Colors? Color is a thing, which gives life to the everything.</p><blockquote><em>Colors are the powerful tool for conveying emotions and ideas.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*WjvF9b5V_JqvPyKKYF6xng.jpeg" /></figure><p>Colors are uncountable, Every slight change of the color brings the new color shade. Day to day, we are seeing every different shade of colors. The natural world showcases attractive color diversity from sunsets to flowers.</p><p>Here I am rising the question that “Are we all are seeing the colors in the same way?” As a human, every human being has the different perspective of seeing the world. The illusions are occurring in every small things. By the same logic, is every human being having the same sense of colors.</p><p>If I am seeing the color green, the same shade of the color green is seen by other people also? The eye iris of the each person is different, the eye color, and the power etc. Then, Is it is true that we are seeing the color is exactly seen by other people also?</p><p>The dress, which spread in social media makes my doubts a more lot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*K_PzzGCD977j_CARLaqCaw.jpeg" /></figure><p>When I was seen this dress, it seems blue and black, and now my eyes sense it as white and gold, Here they are speaks only about the color combinations of the dress is blue, black and white,gold.</p><p>Once, I sent it to my school friend, she said the different answer, the color of the dress seems like dark green and blue.</p><p>The color seen by each person is different or not? I think the slight changes may occur in each person’s perspective of seeing the colors.</p><h3>Combination of colors</h3><p>The Combination of colors brings the good looking for every works, it may be anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v1Jr_3vxuLur_YGc" /></figure><p>The color of the environment determines the purpose. Can you imagine the places of office, hospital, bank etc and alternatively the places hotel, gaming center, theater, studios, Amusements etc.</p><blockquote>colors surround us, influencing our emotions and experiences.</blockquote><p>The Environment of office, banks designed with the color combinations of light colors, whereas the background setup of the places hotel, theater, gaming center and other entertainment related places were designed with some attractive color combination backgrounds.</p><p>The color changes the human mind, if the dull color environmental background is provided in the professional based work places. Is it will give you the brisk mindset? No, you will become sleepy in the dark environment.</p><p>And for also, if the you are planned for the musical contest, But the background of the contest hall is only with the white and white environment, there is no any lightening effects of different colors. The contest may complete successfully. But, the full enjoyment and vibe cannot be experienced.</p><p>The background of the environment can change the person’s mindset. I think the different modes of mindset like <em>Growth, Fixed, Positive, Negative, Open, Closed, Creative, Analytical, Competitive and Collaborative</em> and depends on the colors of environment.</p><p>The personality of the person can easily judge by the colors used by the person.</p><p>Even the person’s mobile phone wallpaper color combination and themes can say the whole mentality of the person.</p><p>Each an every color has the different meaning and logic even in every applications the error indications and warning also for danger are notified with the red color. <em>example, Error has occurred in your invitation.</em></p><p>For every successful message, done or received notifications are with the green color. <em>example, your have completed you registration successfully.</em></p><p><strong>In may point of view color is the only thing which plays a crucial role in design, branding and user experiences.</strong></p><blockquote>Colors can reflect our personalities, interests or values.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e52e485f138d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secret Website for Making Stunning Presentations]]></title>
            <link>https://medium.com/@kethrapackiamb/secret-website-for-making-stunning-presentations-4585b3fdd9cb?source=rss-4dc44c14a1b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4585b3fdd9cb</guid>
            <dc:creator><![CDATA[Kethra Packiam B]]></dc:creator>
            <pubDate>Wed, 07 May 2025 03:12:31 GMT</pubDate>
            <atom:updated>2025-05-07T03:12:31.371Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever felt that the time taking for making presentations are more? I am having a solution for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jz4-FRHilBrSdvL289rkQg.jpeg" /></figure><p>Now a days, the presentations are being the part of any works we have done. The presentations are making to present our works instead of showing our model of the work.</p><p><em>Presentations enhance the appeal of our work and make it easier to understand.</em></p><p>The features, mechanisms, algorithms and applications are briefly explained by the presentation to show up our works.</p><p>For making attractive presentations, I prefer you to get know about the website Gamma AI.</p><p>Gamma AI offers a powerful set of features designed to transform the traditional approach to presentations and documents through automation and customization.</p><p>It is the powerful tool for making attractive and creative presentations or documentations. By giving the prompt about the topic we want to make presentations. It generates the contents related to the topics and it is also editable to our own content also.</p><h3>Key Features</h3><ol><li>AI-powered content generation</li></ol><p>2. Presentation design</p><p>3. Customization options</p><h3>Potential Uses</h3><ol><li>Business Presentations</li><li>Content Creation</li><li>Education</li></ol><p>There are more templates are available for background designs and you can also add the images by your own and if you have selected the option for AI Images, it automatically generates the images into the presentations and i can be editable. By giving corrections to the prompt that generates for the images. In presentation you can make any changes to that.</p><p>We can import the presentation generated by the Gamma AI into to any presentation platforms like Power Point Presentaion, Libre Office Presentaion and also editable in photo editing applications.</p><p>There we can select the number of slides, for about 10 cards are free to generate and for more cards more than 10 we have to be a member in pro options.</p><p>Many customizing options are available once you started to make slides or documents by the Gamma AI, you won’t prefer the traditional methods of making Presentations. There is no need of Pro membership options. As once it is generated, it can be multiplied by power points and more suitable for many presentation applications.</p><p>Here, the link of the website is attached. Click to explore the features of the website. <a href="https://gamma.app/">https://gamma.app</a>/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4585b3fdd9cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>