<?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 Tamanna Bithy on Medium]]></title>
        <description><![CDATA[Stories by Tamanna Bithy on Medium]]></description>
        <link>https://medium.com/@bimurto.bithy14?source=rss-1b762da85a49------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*503YvDg73Mubh9X-EexLAw.jpeg</url>
            <title>Stories by Tamanna Bithy on Medium</title>
            <link>https://medium.com/@bimurto.bithy14?source=rss-1b762da85a49------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 01:49:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bimurto.bithy14/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[life on the stage of earth]]></title>
            <link>https://medium.com/@bimurto.bithy14/life-on-the-stage-of-earth-25f695569bbc?source=rss-1b762da85a49------2</link>
            <guid isPermaLink="false">https://medium.com/p/25f695569bbc</guid>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Tamanna Bithy]]></dc:creator>
            <pubDate>Thu, 31 Mar 2022 14:58:41 GMT</pubDate>
            <atom:updated>2022-03-31T14:58:41.936Z</atom:updated>
            <content:encoded><![CDATA[<p>it is 12.56 pm in Bangladesh.</p><p>I’m waiting for a doctor in a hospital with a patient. Waiting for something is always boring, tiring. That’s why I’ve started to write down my story. Yes, my story, the story of being me what I’m today.</p><p>Well, my story is not a short story of Edgar Allen Poe. Maybe it would be boring too. if i start to write down everything it will take pages after pages though it won’t finish. That’s why I’m starting from a specific year , 2017.</p><p>2017 is the scariest, black chapter in my life ever. In 2017 I was attending my higher secondary examination. In the meantime, I lost my father, lost my dreams, lost hopes. My relationship with my boyfriend was supposed to break down. My family was not well educated. They always treat me as a girl. They are not supportive. They were thinking about property &amp; my marriage.</p><p>I can’t maintain everything i’ve. I lost my friendzone too. started to fight against destiny. I was struggling with family, society and everything. my career was going to be ruined. I was giving an admission test for higher study. But no, nowhere I was admitted. then there was nothing to do, taking my fortune easily. I have been admitted to B.A in English language at a local govt. college. but was suffering from depression. thought many times to consult with a psychologist.</p><p>2019 gave me a new vibe. I started to think positively. though everyone was pushing me to get married awfully. I was crying, trying, getting up again for my own identity, for my freedom. i hate every person surrounding me, not the person actually, their personality. I was thinking of how to get rid of this hell.</p><p>I have focused on my passion, on my skill, what I can or not. I took some basic education about Microsoft office. I was applying for a government job too. I was trying to escape from this city of hard memories.</p><p>2020 was another year of bad times. pandemic started all over the world. I was admitted to a govt training program for learning web development. but because of the project’s non management I can’t learn anything from here. again i lost my time. Neither I could leave this family nor could I manage a job or anything for me. doing any part time job was restricted in this family. I couldn’t start anything.</p><p>2020 has finished in a haze weather.</p><p>I was still thinking what can i do, how can i move on. but most of the time i was losing hope, was in 0 confidence level. I didn’t know what to do next. thinking to commit suicide. everywhere I was finding frustration &amp; frustration.</p><p>but a coincidence happened in my life. everything has changed ridiculously, i felt like crying. I found a new vision of life in touch with a person, whom I love most now. no he didn’t motivate me, he just told me you can do it, try once more, he guided me, was with me in my bad times, supported me, cared about me. all those inspired me 10X times before my alone struggle. I started a web course, learned web development. I found that yes it’s my place, it’s the proper place where I can show my creativity, I feel tired doing code rarely.</p><p>I was enjoying every moment of life, &amp; this developer’s life. whenever I got stuck I discussed it with him. After completion of this web course journey both of us were looking for a job. &amp; fortunately, we got a job too.</p><p>2021 ends with a better accomplishment.</p><p>2022 has started with a new life, frontend developer. but we don’t know where life will take us. Don’t know when we will fall down again! You know life is so vulnerable no matter how optimistic we are. most of the time i can’t maintain both family &amp; job life. I don’t even get time for myself.. the job is not worth it either. My personal life is also going to hell, everyone is getting dissatisfied with me. I have fallen into frustration again. thinking about giving up everything. however life is not what you will want to have that always. you may fail again &amp; again, you may feel tiresome, you may think about giving up everything. Hence, you will get something or not. you are a warrior on this murderer earth. you were filled with someone’s love &amp; adoration from time to time &amp; it is your biggest achievement.</p><p>I’m whispering some of my favourite lines -</p><p>“I’m off the deep end, watch as I dive in</p><p>I’ll never meet the ground</p><p>Crash through the surface, where they can’t hurt us</p><p>We’re far from the shallow now”</p><p>time is going on, time will go away..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25f695569bbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React useEffect Hook vs the lifecycle methods in functional component]]></title>
            <link>https://medium.com/@bimurto.bithy14/react-useeffect-hook-vs-the-lifecycle-methods-in-functional-component-4b1b02798d4b?source=rss-1b762da85a49------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b1b02798d4b</guid>
            <category><![CDATA[functional-component]]></category>
            <category><![CDATA[useeffect]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[hooks]]></category>
            <category><![CDATA[lifecycle-methods]]></category>
            <dc:creator><![CDATA[Tamanna Bithy]]></dc:creator>
            <pubDate>Wed, 16 Mar 2022 14:56:04 GMT</pubDate>
            <atom:updated>2022-03-16T14:56:04.966Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*XcUXBdWFQxWm-l4L4UZPfQ.png" /></figure><p>Welcome back guys. It’s been too long since I wrote a blog.</p><p>So recently I have started researching useEffect hook, you know the most used hook in react. &amp; i was a little bit curious to know the method of react lifecycle. As now we are using functional components instead of class components so of course there is something that is maintaining the life cycle method in functional components too!</p><p>Yes, that is nothing but useEffect hook. There may be other hooks which are also supposed to do the same lifecycle methods. But today our discussion will be on useEffect. How does this magical hook make our life easier?</p><p><strong>useEffect</strong></p><p>According to the react documentation, The useEffect hook lets you perform side effects in functional components.</p><p>useEffect(function(){</p><p>console.log(‘Inside the useEffect function’);</p><p>}, []);</p><p>Use effect takes 2 parameters. 1st one is a function that gets invoked on some side effects. The 2nd one is an array which is optional.</p><p><strong>Life cycle method</strong></p><p>React uses declarative component classes which loads, updates, and renders data in DOM elements. The life cycle of such a component is the time from which it was created in memory to the time it ceases to exist in memory. There are some names of those methods which indicate their work.</p><ul><li><strong>ComponentDidMount</strong> — this method is invoked the first time the component is loaded and rendered into the web page.</li><li><strong>ComponentDidUpdate</strong> — this method is invoked when the component’s data state has been modified by calling setState method.</li><li><strong>ComponentWillUnmount</strong> — this method is invoked when the component is about to be destroyed from memory.</li></ul><p><strong>Let’s make is easier with an example</strong></p><p>Consider a weather app made in React. It has an input box where one can input the city name for which the weather details need to be fetched, and a details box which shows the weather data.</p><p>The React component will have the following state info</p><ol><li>City — city name for fetching weather details, initially it will be null</li><li>WeatherData — weather details object containing various info like humidity, temperature, wind speed and direction</li><li>IsLoadingData — a variable which can be either TRUE or FALSE and is set based on whether it is currently retrieving weather data from the server.</li></ol><p><strong>ComponentDidMount</strong> will be called when the app has been loaded by the browser and displayed. For imitating the functionality of componentDidMount, we need to pass an empty array([]). When you pass an empty array as 2nd argument, the useEffect function will only get invoked once.</p><p>Now since the city is initially null, inside this method we will perform 3 steps</p><ol><li>Get the city name based on the current location of the device the app is running.</li><li>Invoke SetState method to change the state info IsLoadingData to TRUE.</li><li>Call web api with the city and invoke SetState to update the state info WeatherData when data is received from the api, and also set state info IsLoadingData to false</li></ol><p><strong>ComponentDidUpdate</strong> is invoked immediately after updating occurs. This method is not called for the initial render.</p><p>What happens in this method in the following example?</p><ol><li>First when IsLoadingData is set to TRUE</li><li>second, when weatherData is loaded and IsLoadingData is set to false. We can use this method to cache the weather data in the browser so that the user does not see a blank data when the app loads again or if an internet connectivity issue arises.</li></ol><p><strong>ShouldComponentUpdate</strong> occurs when the array you provide is telling useEffect that it should run when the values inside the array changes. Since the value is static it will only run once. If you remove the array it will run on every render. You can also put one or more dependencies inside the array to tell useEffect to update whenever the state changes. For imitating the functionality of shouldComponentUpdate, we should pass the values in the array through which the component’s output gets affected.</p><p>For the following example you can use IsLoadingData, WeatherData as dependency.</p><p><strong>ComponentWillUnmount</strong> will be called if the user closes the web app or leaves the web page. The component is removed from the dom in this stage. For imitating the functionality of componentWillUnmount, we need to pass the cleanup function(will write a blog on it) in useEffect.</p><p>You know why IsLoadingData is added to state info of the component? The <strong>Render method</strong> of the Component which is also invoked automatically when state is changed. So inside the Render method, we check for the value of IsLoadingData. If it is true, we show a loading bar in the weather details area. Otherwise, we show the actual weather data.</p><p><strong>When useEffect is fired?</strong></p><p>After loading the layout &amp; paint useEffect’s function is invoked . This makes your app responsive too.</p><p>Hopefully, you got an idea of life cycle methods and their capabilities which are done with useEffect hook in functional components.</p><p>&amp; thanks a bunch for reading this blog 🤍</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b1b02798d4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CRUD Operations]]></title>
            <link>https://medium.com/@bimurto.bithy14/crud-operations-a1d6f599f170?source=rss-1b762da85a49------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1d6f599f170</guid>
            <category><![CDATA[crud]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Tamanna Bithy]]></dc:creator>
            <pubDate>Fri, 24 Dec 2021 07:44:21 GMT</pubDate>
            <atom:updated>2021-12-24T07:46:36.012Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*hO3cULzprgLWRGaTloEGQw.png" /><figcaption>google image</figcaption></figure><p>CRUD means Create, Read, Update &amp; Delete. Most applications have some kind of CRUD functionality and we can assume that every programmer had to deal with CRUD at some point. A CRUD application is one that uses forms to get data into and out of a database.</p><ul><li>Here create means insert a data or put a data into the database. We can do it by post or insertOne , the HTTP method.</li><li>Read is for retrieving, searching, or viewing existing entries. We use the get method for this operation.</li><li>Update stands for the update or editing of existing entries. We use update, updateOne, or sometimes the put method to run this operation.</li><li>Delete means delete, deactivate, or remove existing entries. The delete method is used for deleting the data.</li></ul><p>These are the four most basic operations that can be performed with most traditional database systems and they are the backbone for interacting with any database.</p><p>Hopefully, now it’s clear to all of you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1d6f599f170" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Asynchronous Behaviour Of JavaScript]]></title>
            <link>https://medium.com/@bimurto.bithy14/asynchronous-behaviour-of-javascript-d9c751e6ef82?source=rss-1b762da85a49------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9c751e6ef82</guid>
            <category><![CDATA[asynchronous-javascript]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Tamanna Bithy]]></dc:creator>
            <pubDate>Mon, 20 Dec 2021 10:41:06 GMT</pubDate>
            <atom:updated>2021-12-20T10:41:06.970Z</atom:updated>
            <content:encoded><![CDATA[<p>Well, the most confusing topic in javascript is asynchronous behaviour. So is javascript synchronous or asynchronous?</p><p>Let’s explore -</p><p>console.log(“write line 1”);</p><p>console.log(“write line 2”);</p><p>console.log(“write line 3”);</p><p>If we run these 3 lines in our console we notice that they are running sequentially. I mean one after another. Not breaking their synchronous behaviour. That’s why javascript is called synchronous language. Whatever we write here will be executed serially.</p><p>But we can control this synchronous behaviour of javascript. Now ques is how? I’m telling you.</p><p>Actually, there are some functions in javascript which make it an asynchronous language.</p><p>console.log(“write line 1”);</p><p>setTimeout(function () {</p><p>console.log(“write line 2”);</p><p>}, 3000);</p><p>console.log(“write line 3”);</p><p>If we run these 3 lines in our console we notice that they are not running sequentially. The 2nd line is being executed in the last. After 3000 milliseconds we get our 2nd line. So where is the 2nd line gone? Yes, the setTimeout function makes this async pattern. As we used setTimeout &amp; giving it a time the browser waits for the time to finish &amp; then it executes the function.</p><p>Similarly , like setTimeout there is another function called setInterval.</p><p>console.log(“write line 1”);</p><p>setInterval(function () {</p><p>console.log(“write line 2”);</p><p>}, 3000);</p><p>console.log(“write line 3”);</p><p>What are we getting now? Of course, the second line is being executed in the last but the particular difference with it is here the time is used as a count down. After every 3000 milliseconds, the function will execute.</p><p>There are so many ways to make an async function in javascript. When we load data from the server we usually use those ways.</p><p>So I hope you get a clear idea now on this vexatious topic. Not going to be puzzled again right?</p><p>For visualization, you may see this <a href="https://codesandbox.io/s/happy-meitner-pvlzy?file=/src/index.js">https://codesandbox.io/s/happy-meitner-pvlzy?file=/src/index.js</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9c751e6ef82" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>