<?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 Suat Yargıcı on Medium]]></title>
        <description><![CDATA[Stories by Suat Yargıcı on Medium]]></description>
        <link>https://medium.com/@yargicisuat?source=rss-17e69b03919a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Bs9yt5pXrIDGI0SmkW7jdw.jpeg</url>
            <title>Stories by Suat Yargıcı on Medium</title>
            <link>https://medium.com/@yargicisuat?source=rss-17e69b03919a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 19:52:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yargicisuat/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[What is omit used for in Typescript?]]></title>
            <link>https://medium.com/@yargicisuat/what-is-omit-used-for-in-typescript-0e426475186a?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e426475186a</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Mon, 25 Mar 2024 20:20:55 GMT</pubDate>
            <atom:updated>2024-03-25T20:40:04.355Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*H3hHHlxL02HtKzGo1mf8AQ.png" /></figure><p>The Omit utility type is used to construct a new type by removing specific properties from an existing type. This can be very handy when you have a type with many properties, and you want to create a new type that is similar but excludes some of those properties.</p><p>Here’s a more detailed breakdown:</p><h3>Syntax</h3><p>The syntax for Omit is:</p><pre>type NewType = Omit&lt;OriginalType, &#39;Property1&#39; | &#39;Property2&#39; | ...&gt;;</pre><ul><li>OriginalType: This is the original type from which properties will be omitted.</li><li>&#39;Property1&#39; | &#39;Property2&#39; | ...: These are the properties you want to exclude from the original type.</li></ul><h3>Example</h3><p>Consider the following example</p><pre>type OriginalType = {<br>  name: string;<br>  age: number;<br>  email: string;<br>};<br><br>type OmittedType = Omit&lt;OriginalType, &#39;age&#39;&gt;;<br><br>const newObj: OmittedType = {<br>  name: &#39;John&#39;,<br>  email: &#39;john@example.com&#39;,<br>};</pre><p>In this example:</p><ul><li>OriginalType has three properties: name, age, and email.</li><li>Omit&lt;OriginalType, &#39;age&#39;&gt; creates a new type OmittedType by excluding the age property from OriginalType.</li><li>newObj is an object of type OmittedType, so it can only have name and email properties.</li></ul><h3>Use Cases</h3><p>Here are some common use cases for omit:</p><p>=&gt;Form Handling: When working with forms, you might want to create a subset of your data type without including certain fields, such as IDs or timestamps.</p><p>=&gt;API Responses: When consuming API responses, you might receive more data than you need in certain contexts. You can use omit to filter out the unnecessary properties.</p><p>=&gt;React Props: In React components, you might pass props down to child components, but some props are consumed by the parent and shouldn&#39;t be passed down. You can use omit to create a new props type without those consumed props.</p><h3>Benefits</h3><p>Using omit provides several benefits:</p><ul><li>Code Reusability: Instead of duplicating type definitions, you can reuse existing types and modify them as needed.</li><li>Type Safety: TypeScript ensures that you&#39;re only accessing properties that exist in the original type, preventing runtime errors.</li><li>Maintainability: By creating clear, intention-revealing types, your code becomes easier to understand and maintain.</li></ul><p>In summary, omit is a powerful utility type in TypeScript that allows you to create new types by excluding specific properties from existing types, which promotes code reusability, type safety, and maintainability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e426475186a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHAT IS THREEJS ?]]></title>
            <link>https://medium.com/@yargicisuat/what-is-threejs-ccf3be03508f?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccf3be03508f</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Thu, 21 Dec 2023 21:42:20 GMT</pubDate>
            <atom:updated>2023-12-21T21:45:03.986Z</atom:updated>
            <content:encoded><![CDATA[<h3>WHAT IS THREE.JS ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*Ezubsl8yJE1phiwS_QUU2w.png" /></figure><p>Three.js is a <strong>JavaScript library</strong> that is used to create and display 3D graphics in a web browser. It provides a set of tools and features for building interactive and visually appealing 3D applications on the web. Three.js abstracts many of the complexities involved in working with WebGL, the underlying technology that enables hardware-accelerated 3D graphics in web browsers.</p><p>Here are some key aspects of Three.js:</p><p>=&gt; <strong>WebGL Integration</strong>: Three.js is built on top of WebGL, which is a low-level API for rendering 3D graphics in web browsers. WebGL allows developers to harness the power of the GPU (Graphics Processing Unit) for improved performance in rendering complex 3D scenes.</p><p>=&gt;<strong> Cross-Browser Compatibility</strong>: Three.js is designed to work across different web browsers, making it easier for developers to create consistent 3D experiences for users regardless of the browser they are using.</p><p>=&gt;<strong> Scene Graph</strong>: Three.js uses a scene graph to organize and manage 3D objects in a scene. This hierarchical structure simplifies the process of manipulating and animating objects within the 3D environment.</p><p>=&gt; <strong>Geometry and Materials</strong>: Three.js provides a variety of built-in geometries (such as cubes, spheres, and planes) and materials (such as Lambert, Phong, and basic materials) that can be combined to create 3D objects with different shapes and appearances.</p><p>=&gt; <strong>Lighting and Shadows</strong>: The library supports various types of lights, including ambient, directional, point, and spotlights. Additionally, it enables the creation of realistic shadows to enhance the visual quality of 3D scenes.</p><p>=&gt; Cameras: Three.js includes different types of cameras, such as perspective and orthographic cameras, to define the view of the 3D scene.</p><p>=&gt; <strong>Animation</strong>: Three.js provides tools for animating objects in the 3D space. Developers can create smooth animations and control the movement, rotation, and scaling of objects over time.</p><p>=&gt; <strong>Interactivity</strong>: Three.js supports user interactions, allowing developers to create responsive and interactive 3D applications. This can include handling mouse events, keyboard input, and more.</p><p>Overall, Three.js has become a popular and powerful tool for web developers interested in incorporating<strong> 3D </strong>graphics into their websites or web applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccf3be03508f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Platforms where developers meet ?]]></title>
            <link>https://medium.com/@yargicisuat/platforms-where-developers-meet-16293969c02c?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/16293969c02c</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Wed, 26 Apr 2023 22:25:53 GMT</pubDate>
            <atom:updated>2023-04-26T22:27:15.240Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*11m0vS9vOqkZb_-cQgZEfw.jpeg" /></figure><h3>Platforms where developers meet ?</h3><p>Meeting platforms for developers include various websites and applications that are used in different ways for the software development community and interaction. Here are some of the most popular dating platforms:</p><p><strong>GitHub:</strong> The most popular dating platform where developers can share their code and collaborate.</p><p><strong>Stack Overflow:</strong> It is a platform for developers to ask questions and answer each other.</p><p><strong>HackerRank:</strong> It is a platform where programmers can test their skills and solve algorithms in different programming languages.</p><p><strong>Reddit:</strong> It is a forum where programmers can discuss different programming languages and technologies.</p><p><strong>Meetup:</strong> It is a platform where programmers can meet and code together.</p><p><strong>Dev.to:</strong> A platform for sharing articles and blogs on software development.</p><p><strong>CodePen:</strong> It is a platform where developers can share code samples in web technologies such as HTML, CSS and JavaScript.</p><p><strong>GitLab: </strong>It is a code repository and collaboration platform like GitHub, but also supports all project management.</p><p><strong>Codecademy:</strong> It is an educational platform that offers interactive lessons for those who want to learn programming.</p><p>These platforms can help developers develop their knowledge and skills and connect with each other.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16293969c02c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Use Casings in Programming?]]></title>
            <link>https://medium.com/@yargicisuat/why-use-casings-in-programming-5585a6711d9?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5585a6711d9</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 20:58:34 GMT</pubDate>
            <atom:updated>2023-04-24T20:58:34.212Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*_679JNYIzhNgRVgtfOHf1Q.jpeg" /></figure><p>In programming, spaces are reserved characters.</p><p>Let’s take the following example.</p><p>Say you want to create a variable in your program, and the name of the variable is more than just one word.</p><p>For your program to not crash, you cannot leave spaces between the different words when creating the variable.</p><p>For example, you cannot do the following:</p><p>const handle click = “Hello World” X</p><p>const handleClick = “ Hello World” ✓</p><p><strong>camelCase:</strong></p><p>In this writing technique, also known as camel case, no spaces are left and the first letter of each word starts with a capital letter after the first word starts with a lowercase letter. For this reason, it is written as camelCase instead of camel case. Turkish characters are not used and the capital letter i (I) is used instead of the capital letter i (I).</p><p>Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*ZonjZltdAAv8Au-7ggunAQ.png" /></figure><p><strong>PascalCase:</strong></p><p>The difference between Pascal Case and Camel Case is that the first letter also starts with a capital letter. Other than that, the same rules still apply.</p><p>Example:</p><p>HelloWorld</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5585a6711d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference between Dependencies vs Devdependencies]]></title>
            <link>https://medium.com/@yargicisuat/difference-between-dependencies-vs-devdependencies-fed3784ac1bc?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fed3784ac1bc</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Wed, 19 Apr 2023 00:06:16 GMT</pubDate>
            <atom:updated>2023-04-19T00:25:48.000Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*a9AkWsI9RPk6WwJ9vKEEXw.png" /></figure><p>devDependencies are for things used in the development environment, such as unit tests and build tools, while peerDependencies are for libraries that your package depends on but which are intended to be provided by the consumer of your package.</p><p>For example, say you were developing a package that uses Lodash. You would list Lodash as a peerDependency in your package.json file because it’s something that your package needs in order to work, but which isn’t something you need to develop or build your package. On the other hand, if you were using Babel to compile your code, you would list it as a devDependency because you need it during the development process but the consumer of your package doesn’t need it.</p><p><strong>To save the package as Devdependencies:</strong></p><p>npm i -D packageName or yarn add -D packageName</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*ZHzmseNsKXco8MrLk5FaUg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fed3784ac1bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Client-Side Rendering VS Server-Side Rendering]]></title>
            <link>https://medium.com/@yargicisuat/client-side-rendering-vs-server-side-rendering-af16334265dd?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/af16334265dd</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 22:41:17 GMT</pubDate>
            <atom:updated>2023-04-14T22:41:17.051Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Client-Side Rendering:</strong></p><p># The user or the browser of the search engine makes a request to your address.<br># The server accepts the request and returns the response.<br># The browser downloads the content and accompanying JS files.<br># The browser executes JS files to view the content.<br># Content becomes interactable by users and bots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*3iPfF6YCGE6g3u0tq6RzpA.png" /></figure><p><strong>Server-Side Rendering:</strong></p><p># The user or the browser of the search engine makes a request to your address.<br># The server accepts the request, renders the entire HTML and returns the response.<br># The browser downloads the generated HTML and JS files.<br># Content becomes interactable by users and bots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qp6l3vWlMMDnGR1wD11I_Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af16334265dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are React Query ?]]></title>
            <link>https://medium.com/@yargicisuat/what-is-react-query-b8b240c56c7d?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8b240c56c7d</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Wed, 05 Apr 2023 00:27:46 GMT</pubDate>
            <atom:updated>2024-03-14T01:11:43.907Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re a web developer, chances are you’ve heard of React Query.</p><p>But for those who haven’t, let me introduce you to this amazing library!</p><p>React Query is a powerful data-fetching library for React applications that simplifies the process of fetching, caching, and updating data. It eliminates the need for boilerplate code, reduces the amount of network requests made, and makes your application faster and more responsive.</p><p>So, what are the benefits of using React Query?</p><p>Automatic caching and stale-while-revalidate<br>React Query automatically caches data, which means that subsequent requests for the same data will be fetched from the cache instead of making a new network request. This makes your application faster and reduces the number of network requests made.</p><p>In addition, React Query uses a technique called “stale-while-revalidate”, which allows it to return stale data immediately while fetching updated data in the background. This makes your application feel more responsive and reduces the perceived latency.</p><p>Simplified data fetching<br>React Query makes it easy to fetch data from various sources, including APIs, GraphQL, and even local storage. It simplifies the process by providing a simple and consistent API that abstracts away the complexity of network requests.</p><p>React Query also provides a number of hooks that allow you to easily integrate data fetching into your React components. This makes it easy to manage the state of your application and keep it in sync with your data.</p><p>Optimized network requests<br>React Query optimizes network requests by automatically batching requests and deduplicating them. This means that if you make multiple requests for the same data, React Query will only make a single network request.</p><p>In addition, React Query provides a number of configuration options that allow you to fine-tune the behavior of your network requests. This makes it easy to optimize your application’s performance and reduce the amount of network traffic.</p><p>Overall, React Query is an incredibly powerful library that simplifies data fetching, reduces the amount of network requests made, and makes your application faster and more responsive. If you haven’t already, I highly recommend giving it a try in your next React project!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*NvNjVbjTCT_qqloPnR098w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8b240c56c7d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are Regular Expressions?]]></title>
            <link>https://medium.com/@yargicisuat/what-are-regular-expressions-f63e2aabd799?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f63e2aabd799</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 18:20:11 GMT</pubDate>
            <atom:updated>2023-03-31T19:29:55.439Z</atom:updated>
            <content:encoded><![CDATA[<p>Regular expressions are a way to describe patterns in a string data. They form a small language of its own, which is a part of many programming languages like Javascript, Perl, Python, Php, and Java.</p><p>Regular expressions allow you to check a string of characters like an e-mail address or password for patterns, to see so if they match the pattern defined by that regular expression and produce actionable information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yuxKsDOyI_l06OBqDiAMtw.jpeg" /></figure><p><strong>How Regex Works</strong><br>The desired results are found through the Regex search structure. Regex works on strings (text) structures. First, the searched string is found.</p><p>In some cases, it can also be used to replace. In other words, the found string is replaced by another string. At the end of the process, the search results that will waste time for the user are avoided. Regex is used to find (Search) or replace (Replace) the desired structure.</p><p>There are two ways to create a regular expression in Javascript. It can be either created with RegExp constructor, or by using forward slashes ( / ) to enclose the pattern.</p><h3>Flags:</h3><p>Regular expressions have five optional flags or modifiers. Let’s discuss the two most important flags:</p><p><strong>g </strong>Global search, don’t return after the first match</p><p><strong>i</strong> Case-insensitive search</p><p># [] Matches Characters in bracktes</p><p># [^ ] Matches Characters not in bracktes</p><p># ( ) Group</p><p># | Either or</p><p><strong># \d</strong> — Match any digit character ( same as [0-9] ).</p><p><strong># \w</strong> — Match any word character. A word character is any letter, digit, and underscore. (Same as [a-zA-Z0–9_] ) i.e alphanumeric character.</p><p><strong># \s </strong>— Match a whitespace character (spaces, tabs etc).</p><p><strong># \t </strong>— Match a tab character only.</p><p><strong># \b </strong>— Find a match at beginning or ending of a word. Also known as word boundary.</p><p><strong># .</strong> — (period) Matches any character except for newline.</p><p><strong># \D</strong> — Match any non digit character (same as [^0–9]).</p><p><strong># \W</strong> — Match any non word character (Same as [^a-zA-Z0–9_] ).</p><p><strong># \S</strong> — Match a non whitespace character.</p><p><strong>EXAMPLES</strong></p><p><strong>EMAİL</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*A5tlgrcVMLCraosuBbdu9w.png" /></figure><p><strong>DATE VALİDATİON</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*cn6bdgjC89_v4-L53RWh7Q.png" /></figure><p><strong>TIME FORMAT</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*mAVYzAyG7gd6brXqpp9Zbw.png" /></figure><p><strong>USERNAME</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*NsYQxsbleoMaCVHSrTxDXQ.png" /></figure><p><strong>PASSWORD</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*JwfJLGNlpie01Z7a7xPjqg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f63e2aabd799" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to add copy to clipboard functionality in a ReactJs App.]]></title>
            <link>https://medium.com/@yargicisuat/how-to-add-copy-to-clipboard-functionality-in-a-reactjs-app-6097e12d86d5?source=rss-17e69b03919a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6097e12d86d5</guid>
            <dc:creator><![CDATA[Suat Yargıcı]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 13:43:56 GMT</pubDate>
            <atom:updated>2023-03-26T13:43:56.109Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I’ll be sharing how to add <strong>copy to clipboard</strong> functionality in your react app without the hassle of installing a library into your app.</p><p>So we need to 3 things: ♻</p><p>01: <strong>A button</strong> : you can take a div or copy icon, anything you would like.</p><p>02: An <strong>onClick</strong> Handler function: Well, I am using an anonymous arrow function here for the same, but we can have a separate function created for that.</p><p>03: <strong>Variable</strong> / <strong>State Variable</strong> (Depends upon your type of data) : To store the text which will be copied !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s7Kqm5mPQ4J76QFQOI9QSw.png" /></figure><p>So here you can see, how I have used all three things in the code above to implement copy functionality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6097e12d86d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>