<?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: Babilah</title>
    <description>The latest articles on DEV Community by Babilah (@blessing).</description>
    <link>https://dev.to/blessing</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%2F214229%2F8fc6c01f-3086-4cc7-8bbc-2a8b4c084d97.jpg</url>
      <title>DEV Community: Babilah</title>
      <link>https://dev.to/blessing</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/blessing"/>
    <language>en</language>
    <item>
      <title>Next.js!</title>
      <dc:creator>Babilah</dc:creator>
      <pubDate>Thu, 26 Aug 2021 12:58:09 +0000</pubDate>
      <link>https://dev.to/blessing/next-js-3pa3</link>
      <guid>https://dev.to/blessing/next-js-3pa3</guid>
      <description>&lt;p&gt;Hey Folks! I hope you are doing great.&lt;/p&gt;

&lt;p&gt;In this post we will be learning next.js and why you should use it for your next project. &lt;/p&gt;

&lt;h3&gt;
  
  
  What is next.js?
&lt;/h3&gt;

&lt;p&gt;The react framework for production. &lt;a href="https://nextjs.org/"&gt;Next.js org&lt;/a&gt;&lt;br&gt;
Next.js is a framework built on the react library. It helps you create server side rendering and static applications which improves user experience and SEO.  &lt;/p&gt;

&lt;h3&gt;
  
  
  Why Next.js?
&lt;/h3&gt;

&lt;p&gt;Next.js simplifies the process of building a react application. I'll give you 10 reasons why Next.Js should be used for your next project.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Image optimization&lt;/strong&gt; &lt;br&gt;
Next.js has its own image component which helps in resizing, optimizing and scaling images. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Fast Refresh&lt;/strong&gt; &lt;br&gt;
Any change or edit you make in your react component is instantly reflected in your browser.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Zero Config&lt;/strong&gt; &lt;br&gt;
No or little configuration is needed when creating or building your app. Automatic compilation and building.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Authentication&lt;/strong&gt; &lt;br&gt;
It supports various authentication patterns each designed for different use cases.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Routing&lt;/strong&gt;&lt;br&gt;
Next.js has a file base routing system. In a typical react app you will need to install a third party library to help with routing in your app but with next.js it is made available for you with no config needed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;API Routes&lt;/strong&gt;*&lt;br&gt;
You can create API endpoints inside your next.js application. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CSS Support&lt;/strong&gt; &lt;br&gt;
Next.js by default is styled using CSS modules which saves you the time of choosing a CSS library. You are allowed to use any CSS framework like tailwind CSS or CSS in JS library like styled components. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Server Side Rendering(SSR) and Static Site Generation(SSG)&lt;/strong&gt;&lt;br&gt;
Pre-renders your pages at build time(SSG) or when the page is requested(SSR).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Code Splitting&lt;/strong&gt;&lt;br&gt;
Next.js automatically breaks your code to speed up page loading. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;TypeScript Support&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Websites that use Next.js
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt; &lt;a href="https://coinmarketcap.com/"&gt;coinmarketcap&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="https://www.binance.com/"&gt;Binance&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="https://zapier.com/"&gt;Zapier&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="//tiktok.com"&gt;TikTok&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="//dcc.godaddy.com"&gt;GoDaddy&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;All the features above makes next.js an amazing framework to work with. It provides you with the best developer experience.&lt;br&gt;
If you know other features of next.js or websites that use next.js then let me know about them in the comments.&lt;br&gt;
Thanks!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>nextjs</category>
    </item>
    <item>
      <title>Branching in Git</title>
      <dc:creator>Babilah</dc:creator>
      <pubDate>Thu, 19 Aug 2021 13:22:59 +0000</pubDate>
      <link>https://dev.to/blessing/branching-in-git-31k8</link>
      <guid>https://dev.to/blessing/branching-in-git-31k8</guid>
      <description>&lt;p&gt;So I have been learning git for some time now and I came across the topic of branches. I have learned so much from this topic, and would like to share with you what I learnt.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is a Branch.
&lt;/h3&gt;

&lt;p&gt;According to &lt;strong&gt;GitHub Glossary&lt;/strong&gt; a branch is a parallel version of a repository. Branches are primarily used to create new features and once the feature is complete it is merged back into the master. By default git commits to the master branch. Git allows you to create , list, rename and delete branches.&lt;/p&gt;

&lt;h4&gt;
  
  
  Importance of Branches
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;It allows you to clean up your futures hosting before merging it into the main branch.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It allows unstable code to be managed before merging into the main code base.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Basic Git Branching commands
&lt;/h4&gt;



&lt;p&gt;&lt;code&gt;git branch&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;allows you to list all branches in your repository
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git branch &amp;lt;branch-name&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;allows you to create a new branch
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git branch -d &amp;lt;branch-name&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;deletes the specific branch also prevents you from deleting this branch if it has unmerged changes and it outputs an error.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git branch -D &amp;lt;branch-name&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;deletes branch even if it has unmerged changes and does not out any error warnings.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git branch -m &amp;lt;branch-name&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;renames the current branch
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git branch -a&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;list all remote branches
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git checkout&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;for switching between branches.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git merge&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;used to combine two branches usually a feature branch into a master branch&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Branching in git is used to maintain code before they are merged to the master branch.&lt;br&gt;
Branches helps enables to you to list branches, create new branches, delete branches and many more. In this article, you were taught the basis of how to work with branches.&lt;/p&gt;

&lt;p&gt;Let me know in the comments if you have any contribution 👇 or just leave a 🦄 and share this post 📣&lt;/p&gt;

&lt;p&gt;Thanks for reading🙏&lt;/p&gt;

</description>
      <category>github</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
