<?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 Fatima Gamero Romero on Medium]]></title>
        <description><![CDATA[Stories by Fatima Gamero Romero on Medium]]></description>
        <link>https://medium.com/@fgameroromero?source=rss-6169d6fc79ce------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tw567Lezpl68z1Ud</url>
            <title>Stories by Fatima Gamero Romero on Medium</title>
            <link>https://medium.com/@fgameroromero?source=rss-6169d6fc79ce------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 07:36:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fgameroromero/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[ARRAY METHODS: find() vs filter()]]></title>
            <link>https://medium.com/@fgameroromero/array-methods-find-vs-filter-ba5e006393e?source=rss-6169d6fc79ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba5e006393e</guid>
            <dc:creator><![CDATA[Fatima Gamero Romero]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 08:24:51 GMT</pubDate>
            <atom:updated>2022-04-11T08:24:51.467Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ye-X6840TDX1vFpt1LFa3g.jpeg" /></figure><p>During my journey to become a frontend developer, I was always so confused about the array methods find() and filter(). I was never sure which one to use until now that I have searched for information and written an article with my own examples that will help me to remember it and hopefully you too!</p><h3><em>find():</em></h3><p>find() is a function that iterates through an array and returns the <strong>first</strong> element in the array as an object that matches the given predicate.</p><p><em>const cats = [</em></p><p><em>{ id: 1, breed: “Persian”, sex:’male’ },</em></p><p><em>{ id: 2, breed: “Bengal”, sex:’female’ },</em></p><p><em>{ id: 3, breed: “Siamese”, sex:’male’},</em></p><p><em>{ id: 4, breed: “British shorthair”, sex:’female’},</em></p><p><em>{ id: 5, breed: “European”, sex:’male’},</em></p><p><em>];</em></p><p><em>console.log(cats.find((cat) =&gt; cat.sex === ‘female’));</em></p><p><em>returns</em><strong><em> {id: 2, breed: ‘Bengal’, sex: ‘female’}</em></strong></p><p>It returns an object with just the first match, even though, there is another female cat.</p><h3><strong>filter():</strong></h3><p>filter() is a function that runs through an entire array and returns a <strong>new array</strong> of all elements in the array that matches the given predicate. You should be only using it if you expect more than one item to match this predicate.</p><p><em>const cats = [</em></p><p><em>{ id: 1, breed: “Persian”, sex:’male’ },</em></p><p><em>{ id: 2, breed: “Bengal”, sex:’female’ },</em></p><p><em>{ id: 3, breed: “Siamese”, sex:’male’},</em></p><p><em>{ id: 4, breed: “British shorthair”, sex:’female’},</em></p><p><em>{ id: 5, breed: “European”, sex:’male’},</em></p><p><em>];</em></p><p><em>console.log(cats.filter((cat) =&gt; cat.sex === ‘female’));</em></p><p><em>returns </em><strong><em>[ {id: 2, breed: ‘bengal’, sex: ‘female’},{id: 4, breed: ‘britishShortHair’, sex: ‘female’}]</em></strong></p><p>It returns an array with all the cats that are female.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba5e006393e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React State vs Redux State]]></title>
            <link>https://medium.com/@fgameroromero/react-state-vs-redux-state-e1226bfc76d9?source=rss-6169d6fc79ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1226bfc76d9</guid>
            <category><![CDATA[redux]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Fatima Gamero Romero]]></dc:creator>
            <pubDate>Sun, 30 Jan 2022 21:26:38 GMT</pubDate>
            <atom:updated>2022-01-30T21:26:38.422Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*vxu9T1GOfoikmL0N9P87HQ.jpeg" /></figure><p>When designing a React application it may not be clear how to structure the data. The state of the entire application can be kept locally or globally. There are some advantages and disadvantages to both. A very common way of storing data in <a href="https://www.merixstudio.com/blog/test-driven-development-in-react-applications/">React apps</a> is to keep it in a store. There are many libraries that facilitate state management, however, the most popular one is Redux</p><p>But, what the hell is the state? Let’s just say that, the state is the current data that our app stores to control its behavior.</p><p><strong>REACT STATE (local)</strong></p><p>React state is stored locally within a component. When it needs to be shared with other components, it is passed down through props. In practice, this means that the top-most component in our app needing access to a mutable value will hold that value in its state. The simplest way to store data in <a href="https://www.merixstudio.com/blog/what-preact-and-when-should-you-consider-using-it/">React</a> is to keep it in a component. This can be achieved through the useState hook for functional components or setState for class-based components.</p><p>In other words, If the state doesn’t need to be shared with other components, or the state doesn’t need to be kept when the component is unmounted, then we can just put it in the component’s state.</p><p><strong>REDUX STATE (global)</strong></p><p>When using Redux, the state is stored globally in the Redux store, and global means our state is accessible by every element/component of the app. Any component that needs access to a value may subscribe to the store and gain access to that value.</p><p>The main idea behind Redux is to have a single store for data that can be changed only through actions. The store sits at the top of the application and is accessible from anywhere.</p><p>The only way to change data in a Redux store is to dispatch an action. To dispatch an action, a function called dispatch can be used, however, a very common approach is to use an additional library that provides a hook called useDispatch.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1226bfc76d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pair programming vs Mob programming]]></title>
            <link>https://medium.com/@fgameroromero/pair-programming-vs-mob-programming-61e2c4e9a6c7?source=rss-6169d6fc79ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/61e2c4e9a6c7</guid>
            <dc:creator><![CDATA[Fatima Gamero Romero]]></dc:creator>
            <pubDate>Sun, 28 Nov 2021 19:05:46 GMT</pubDate>
            <atom:updated>2021-11-28T19:05:46.612Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*N31RRKFfSSCwaulgu5FBIA.png" /></figure><h3>Pair Programming</h3><p>Pair Programming consists of 2 programmers where one being a navigator and one being a driver. This pair works together on one story at a time, where one programmer is a <em>navigator</em> and the other is the <em>driver</em>.</p><h3>Mob Programming</h3><p>Mobbing is similar to pairing, except that there is one <em>driver</em> and many <em>navigators</em>. In mob programming, everyone works on one story while one person drives and everyone else navigates. Mob programming is best used when only one person has experience in something and needs to catch the team up, or when the team is learning something new together. Otherwise, pair programming is a better approach.</p><h3>Roles</h3><p>There are two roles, as you’ve no doubt already noticed in pair and mob programming. These roles are the navigator and the driver. It is important that the people in these roles remember that they are a team and are working together to complete a task. We’ll break down what these roles entail below.</p><h3>Driver</h3><p>The driver is the person who is at the keyboard, typing the solution. As the driver, you type what the navigator says and don’t “run away”. <em>Running away</em> is the term used for a driver who stops listening to their navigator and just starts typing their own solution. It can be hard not to do this as the driver. Sometimes because the navigator doesn’t know what to do, sometimes because the navigator is going too fast and it’s hard to keep up. This is where it’s important to signal to overwhelm. This can be done in many ways, such as simply lifting your hands from the keyboard, simply saying “let’s slow down” or any other signal agreed upon between navigators and drivers.</p><h3>Navigator</h3><p>As the navigator, it’s your job to explain the solution and help your driver to code it. Navigator roles are best taken by the more experienced programmer per solution. As a navigator, you want to make sure to find the level of your driver. Don’t direct experienced programmers as if they are novices and don’t direct novices as if they know (or should know) everything. It is also important to pay attention to cues from your driver. If you notice them feeling overwhelmed, then know that it’s time to adjust your approach or take a break.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61e2c4e9a6c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FEELING PART OF A TEAM]]></title>
            <link>https://medium.com/@fgameroromero/feeling-part-of-a-team-c29fd58e8d72?source=rss-6169d6fc79ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/c29fd58e8d72</guid>
            <dc:creator><![CDATA[Fatima Gamero Romero]]></dc:creator>
            <pubDate>Thu, 11 Nov 2021 20:36:28 GMT</pubDate>
            <atom:updated>2021-11-11T20:36:28.480Z</atom:updated>
            <content:encoded><![CDATA[<p>I am halfway through a Frontend Bootcamp at <strong>Technigo</strong> and since we have been working a lot in pair-programming and also in groups, I find that writing about the importance of feeling like a part of a team is a good topic to read about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-76w40DSwPuGyiNPDNafxg.jpeg" /></figure><p>Over thousands of years, people have gravitated to one another, creating communities that share common values and beliefs. It is actually human nature to form communities, groups, or teams. And that is the reason when joining a team, every individual is subconsciously searching for their place inside and looking for the best avenues to find a sense of belonging and embrace the experience of being part of the team. Belonging is what allows us to feel like we can be our most authentic selves and this can have a huge impact on our performance.</p><p>Moreover, the feeling of being part of a team motivates people to work harder and colleagues and team-mates have the ability to inspire one another to do their best. When we are surrounded by individuals who share the same values as we do, we feel a greater sense of responsibility to perform well and accomplish our tasks.</p><p>Another benefit of feeling like part of a team is having more confidence because when we have people around us that recognize our contributions and accomplishments, it builds our self-confidence and it feels great when someone tells us we did a good job. Therefore, when we truly identify with a group, we start thinking and acting in terms of ‘we’ and ‘us’, instead of ‘I’ and ‘me’ — and with this mentality, we can accomplish greater results.</p><p>Having said this, I think teamwork skills should be a more valuable skill to take into account when applying for jobs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c29fd58e8d72" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>