<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Atanas Dimitrov</title>
    <description>The latest articles on DEV Community by Atanas Dimitrov (@seishin).</description>
    <link>https://dev.to/seishin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1272333%2Fa2bcca6d-efcf-456a-8dd2-c5d8825655f7.jpeg</url>
      <title>DEV Community: Atanas Dimitrov</title>
      <link>https://dev.to/seishin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/seishin"/>
    <language>en</language>
    <item>
      <title>My Journey into Open Source: Simplifying Cookie Consent for React Developers</title>
      <dc:creator>Atanas Dimitrov</dc:creator>
      <pubDate>Mon, 29 Apr 2024 17:18:53 +0000</pubDate>
      <link>https://dev.to/seishin/my-journey-into-open-source-simplifying-cookie-consent-for-react-developers-2ab5</link>
      <guid>https://dev.to/seishin/my-journey-into-open-source-simplifying-cookie-consent-for-react-developers-2ab5</guid>
      <description>&lt;p&gt;As a developer navigating the complexities of modern web development, I encountered a common challenge: implementing a cookie consent view in my React project. What initially appeared as a straightforward task soon revealed itself to be far more complex due to the overly complicated APIs of existing libraries.&lt;/p&gt;

&lt;p&gt;Frustrated by the convoluted configurations and cumbersome design tweaks required by available solutions, I set out on a mission to create a simpler, more intuitive alternative. Little did I know that this quest would lead me to my first venture into the world of open source.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bite Consent
&lt;/h2&gt;

&lt;p&gt;Enter &lt;strong&gt;Bite Consent&lt;/strong&gt; — a lightweight and customizable React component designed to simplify the process of managing cookie consent. With Bite Consent, developers can easily add a sleek and compliant cookie consent banner to their projects with just a few lines of code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhq81yejf4am3v2e1bgec.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhq81yejf4am3v2e1bgec.png" alt="Image description" width="376" height="275"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here’s how simple it is to integrate Bite Consent into your React application using the useBiteConsent hook:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;consentCookie&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;show&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;revoke&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;useBiteConsent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://example.com/privacy&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With &lt;strong&gt;Bite Consent&lt;/strong&gt;, you can say goodbye to the hassle of managing cookie consent and focus on building amazing user experiences. Join me on this journey as we simplify web development and empower developers worldwide to create better, more compliant websites. Together, we can make a difference — one cookie at a time.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Details
&lt;/h2&gt;

&lt;p&gt;For more details and to get started with &lt;strong&gt;Bite Consent&lt;/strong&gt;, check out the links below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/bite-consent"&gt;Get Bite Consent on NPM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/your-username/bite-consent"&gt;Check out Bite Consent on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Feel free to explore and dive deeper into the codebase, or even suggest changes and improvements!&lt;/p&gt;

&lt;p&gt;Happy coding! 👨🏻‍💻&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
