<?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: NoobCoder </title>
    <description>The latest articles on DEV Community by NoobCoder  (@vanshcodes).</description>
    <link>https://dev.to/vanshcodes</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%2F622739%2F471605e9-82b7-4afd-8c9e-ea61f45aff34.png</url>
      <title>DEV Community: NoobCoder </title>
      <link>https://dev.to/vanshcodes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vanshcodes"/>
    <language>en</language>
    <item>
      <title>(SHOWCASE) Build an Amazon Clone with SvelteKit, Svelte, and Tailwind CSS</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Mon, 29 May 2023 14:46:13 +0000</pubDate>
      <link>https://dev.to/vanshcodes/showcase-build-an-amazon-clone-with-sveltekit-svelte-and-tailwind-css-4ne5</link>
      <guid>https://dev.to/vanshcodes/showcase-build-an-amazon-clone-with-sveltekit-svelte-and-tailwind-css-4ne5</guid>
      <description>&lt;h1&gt;
  
  
  (SHOWCASE) Build an Amazon Clone with SvelteKit, Svelte, and Tailwind CSS
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Source Code: &lt;a href="https://rebrand.ly/amazon_svelte"&gt;https://rebrand.ly/amazon_svelte&lt;/a&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://amazon-svelte.vercel.app/"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KnWw89WO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/70zrgtovwzbgjskkfvsa.jpg" alt="Image" width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Check out the live demo of this impressive Amazon clone built using SvelteKit, Svelte, and Tailwind CSS: &lt;a href="https://amazon-svelte.vercel.app/"&gt;Live Demo&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Experience the Power of SvelteKit, Svelte, and Tailwind CSS
&lt;/h2&gt;

&lt;p&gt;Are you ready to explore the potential of SvelteKit and build an Amazon-like e-commerce website? Look no further! This comprehensive tutorial showcases the key features and techniques behind this amazing project.&lt;/p&gt;

&lt;h3&gt;
  
  
  Requirements and Customization
&lt;/h3&gt;

&lt;p&gt;To ensure easy setup and customization, this project utilizes SvelteKit, Svelte, Tailwind CSS, and ShopAPI. You'll be amazed at how simple it is to modify this clone without touching the core code.&lt;/p&gt;

&lt;p&gt;Just open the file &lt;code&gt;src/assets/details.js&lt;/code&gt; and customize it according to your specific needs. Update the API URL, image URLs, site logo, and more with ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features of the Amazon Clone
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Seamless Product Display: Experience a sleek and intuitive product listing that replicates the Amazon browsing experience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Easy Cart Management: Add products to your cart effortlessly and enjoy a smooth checkout process.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Personalized Experience: Sign in to access your cart and keep track of your orders. Get a glimpse of the total price before making a purchase.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Directory Structure
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
plaintext
├── jsconfig.json
├── package.json
├── package-lock.json
├── postcss.config.cjs
├── README.md
├── sda.js
├── src
│   ├── app.css
│   ├── app.html
│   ├── assets
│   │   ├── cartHelper.js
│   │   ├── details.js
│   │   ├── firebaseImport.js
│   │   ├── req.js
│   │   └── router.js
│   ├── firebase
│   │   ├── auth.js
│   │   └── config.js
│   ├── global.d.ts
│   ├── hooks.js
│   ├── lib
│   │   ├── Body
│   │   │   ├── CarousalItem.svelte
│   │   │   ├── CheckoutProduct.svelte
│   │   │   ├── Currency.svelte
│   │   │   ├── ProductFeed.svelte
│   │   │   ├── Product.svelte
│   │   │   └── Stars.svelte
│   │   └── Header
│   │       ├── bottomnav.svelte
│   │       ├── index.svelte
│   │       └── login.svelte
│   ├── routes
│   │   ├── checkout.svelte
│   │   ├── index.svelte
│   │   └── __layout.svelte
│   └── store
│       ├── basket.store.js
│       └── user.store.js
├── static
│   ├── favicon.svg
│   └── robots.txt
├── svelte.config.js
└── tailwind.config.cjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>sveltekit</category>
      <category>svelte</category>
      <category>tailwindcss</category>
      <category>amazonclone</category>
    </item>
    <item>
      <title>Django Ecommerce Store</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Tue, 14 Mar 2023 13:19:51 +0000</pubDate>
      <link>https://dev.to/vanshcodes/django-ecommerce-store-4do5</link>
      <guid>https://dev.to/vanshcodes/django-ecommerce-store-4do5</guid>
      <description>&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Bp4dRyjrl8k"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;SOURCE CODE: &lt;a href="https://rebrand.ly/36rzez7"&gt;https://rebrand.ly/36rzez7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tDswyWHh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/37pgdxpa6a1u27tvdiwb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tDswyWHh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/37pgdxpa6a1u27tvdiwb.png" alt="Image description" width="756" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this project I have created fully responsive and functional ecommerce website.&lt;/p&gt;

&lt;p&gt;Add product: You can easily add product by admin panel.&lt;/p&gt;

&lt;p&gt;Add to cart: Add to cart function also is available.&lt;/p&gt;

&lt;p&gt;Category: Users can visit a page that displays a list of all product categories.&lt;/p&gt;

&lt;p&gt;Get orders easily: you can easily get orders and see it by admin panel when you want. &lt;/p&gt;

&lt;p&gt;Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any listings, comments, and bids made on the site.&lt;/p&gt;

&lt;p&gt;Product Features&lt;/p&gt;

&lt;p&gt;Product Features&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Add product: Add product easily by admin panel,&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Get orders: Easily get orders and see it in admin panel.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Categories: Users can visit a page that displays a list of all product categories.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any product.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In this project I have created fully responsive and functional ecommerce website.&lt;/p&gt;

&lt;p&gt;Add product: You can easily add product by admin panel.&lt;/p&gt;

&lt;p&gt;Add to cart: Add to cart function also is available.&lt;/p&gt;

&lt;p&gt;Category: Users can visit a page that displays a list of all product categories.&lt;/p&gt;

&lt;p&gt;Get orders easily: you can easily get orders and see it by admin panel when you want. &lt;/p&gt;

&lt;p&gt;Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any listings, comments, and bids made on the site.&lt;/p&gt;

&lt;p&gt;Product Features&lt;/p&gt;

&lt;p&gt;Product Features&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Add product: Add product easily by admin panel,&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Get orders: Easily get orders and see it in admin panel.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Categories: Users can visit a page that displays a list of all product categories.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any product.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>django</category>
      <category>ecommerce</category>
      <category>python</category>
      <category>stor</category>
    </item>
    <item>
      <title>(SHOWCASE) Amazon Clone in SvelteKit, Svelte, TailwindCSS.</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Mon, 06 Mar 2023 17:05:57 +0000</pubDate>
      <link>https://dev.to/vanshcodes/showcase-amazon-clone-in-sveltekit-svelte-tailwindcss-4nf1</link>
      <guid>https://dev.to/vanshcodes/showcase-amazon-clone-in-sveltekit-svelte-tailwindcss-4nf1</guid>
      <description>&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/NHDOjV2HD_Y"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u61hc7Jl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/70zrgtovwzbgjskkfvsa.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u61hc7Jl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/70zrgtovwzbgjskkfvsa.jpg" alt="Image description" width="880" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;LIVE DEMO URL CLICK HERE&lt;/p&gt;

&lt;h2&gt;
  
  
  URL for the build: &lt;a href="https://amazon-svelte.vercel.app/"&gt;https://amazon-svelte.vercel.app/&lt;/a&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Source Code:  &lt;a href="https://rebrand.ly/amazon_svelte"&gt;https://rebrand.ly/amazon_svelte&lt;/a&gt;
&lt;/h2&gt;

&lt;h1&gt;
  
  
  Requirements
&lt;/h1&gt;

&lt;p&gt;Node 16 or above Features &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The Project uses SvelteKit, Svelte, TailwindCSS, ShopAPI, etc to fetch the data &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Highly Editable without changing the code&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Just open the file src/assets/details.js &lt;/p&gt;

&lt;p&gt;Edit it according to your needs like the API URL, images URL, logo of the site, etc&lt;/p&gt;

&lt;h2&gt;
  
  
  Product Insiders
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The Project displays the products.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The product can be added to the cart.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can't See cart without signing in.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Displays Total Price.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Directory Structures
&lt;/h2&gt;

&lt;p&gt;├── jsconfig.json&lt;br&gt;
├── package.json&lt;br&gt;
├── package-lock.json&lt;br&gt;
├── postcss.config.cjs&lt;br&gt;
├── README.md&lt;br&gt;
├── sda.js&lt;br&gt;
├── src&lt;br&gt;
│   ├── app.css&lt;br&gt;
│   ├── app.html&lt;br&gt;
│   ├── assets&lt;br&gt;
│   │   ├── cartHelper.js&lt;br&gt;
│   │   ├── details.js&lt;br&gt;
│   │   ├── firebaseImport.js&lt;br&gt;
│   │   ├── req.js&lt;br&gt;
│   │   └── router.js&lt;br&gt;
│   ├── firebase&lt;br&gt;
│   │   ├── auth.js&lt;br&gt;
│   │   └── config.js&lt;br&gt;
│   ├── global.d.ts&lt;br&gt;
│   ├── hooks.js&lt;br&gt;
│   ├── lib&lt;br&gt;
│   │   ├── Body&lt;br&gt;
│   │   │   ├── CarousalItem.svelte&lt;br&gt;
│   │   │   ├── CheckoutProduct.svelte&lt;br&gt;
│   │   │   ├── Currency.svelte&lt;br&gt;
│   │   │   ├── ProductFeed.svelte&lt;br&gt;
│   │   │   ├── Product.svelte&lt;br&gt;
│   │   │   └── Stars.svelte&lt;br&gt;
│   │   └── Header&lt;br&gt;
│   │       ├── bottomnav.svelte&lt;br&gt;
│   │       ├── index.svelte&lt;br&gt;
│   │       └── login.svelte&lt;br&gt;
│   ├── routes&lt;br&gt;
│   │   ├── checkout.svelte&lt;br&gt;
│   │   ├── index.svelte&lt;br&gt;
│   │   └── __layout.svelte&lt;br&gt;
│   └── store&lt;br&gt;
│       ├── basket.store.js&lt;br&gt;
│       └── user.store.js&lt;br&gt;
├── static&lt;br&gt;
│   ├── favicon.svg&lt;br&gt;
│   └── robots.txt&lt;br&gt;
├── svelte.config.js&lt;br&gt;
└── tailwind.config.cjs&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fDLCb2Tp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3swptayd5yk03egcdait.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fDLCb2Tp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3swptayd5yk03egcdait.jpg" alt="Image description" width="880" height="429"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Hi3q4wih--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8uvv3kq8l2q7byb7uiyy.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Hi3q4wih--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8uvv3kq8l2q7byb7uiyy.jpg" alt="Image description" width="880" height="429"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_rAx-xYx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ky09gaye8iftgnoea9r6.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_rAx-xYx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ky09gaye8iftgnoea9r6.jpg" alt="Image description" width="880" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>svelte</category>
      <category>tailwindcss</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to get an idea for a Saas?</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Wed, 13 Apr 2022 15:00:41 +0000</pubDate>
      <link>https://dev.to/vanshcodes/how-to-get-an-idea-for-a-saas-4n5a</link>
      <guid>https://dev.to/vanshcodes/how-to-get-an-idea-for-a-saas-4n5a</guid>
      <description></description>
    </item>
    <item>
      <title>TailwindCSS is Just Exploding</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Fri, 24 Dec 2021 03:31:25 +0000</pubDate>
      <link>https://dev.to/vanshcodes/tailwindcss-is-just-exploding-1m7h</link>
      <guid>https://dev.to/vanshcodes/tailwindcss-is-just-exploding-1m7h</guid>
      <description>&lt;p&gt;Is it just me or you all are too noticing the gigantic rise of tailwindCSS in a few months.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Django Ecommerce Beautiful UI and Backend.</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Fri, 17 Dec 2021 07:14:49 +0000</pubDate>
      <link>https://dev.to/vanshcodes/django-ecommerce-beautiful-ui-and-backend-23l0</link>
      <guid>https://dev.to/vanshcodes/django-ecommerce-beautiful-ui-and-backend-23l0</guid>
      <description>&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Bp4dRyjrl8k"&gt;
&lt;/iframe&gt;
&lt;br&gt;
DEMO VIDEO: &lt;a href="https://www.youtube.com/watch?v=Bp4dRyjrl8k"&gt;https://www.youtube.com/watch?v=Bp4dRyjrl8k&lt;/a&gt;&lt;br&gt;
SOURCE CODE: &lt;a href="https://rebrand.ly/36rzez7"&gt;https://rebrand.ly/36rzez7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this project I have created fully responsive and functional ecommerce website.&lt;/p&gt;

&lt;p&gt;Add product: You can easily add product by admin panel.&lt;/p&gt;

&lt;p&gt;Add to cart: Add to cart function also is available.&lt;/p&gt;

&lt;p&gt;Category: Users can visit a page that displays a list of all product categories.&lt;/p&gt;

&lt;p&gt;Get orders easily: you can easily get orders and see it by admin panel when you want. &lt;/p&gt;

&lt;p&gt;Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any listings, comments, and bids made on the site.&lt;/p&gt;

&lt;p&gt;Product Features&lt;/p&gt;

&lt;p&gt;Product Features&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Add product: Add product easily by admin panel,&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Get orders: Easily get orders and see it in admin panel.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Categories: Users can visit a page that displays a list of all product categories.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any product.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>django</category>
      <category>ecommerce</category>
      <category>uiweekly</category>
      <category>backend</category>
    </item>
    <item>
      <title>Created a Quora Community for Dart/Flutter tips and tricks</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Wed, 27 Oct 2021 15:50:38 +0000</pubDate>
      <link>https://dev.to/vanshcodes/created-a-quora-community-for-dartflutter-tips-and-tricks-9fl</link>
      <guid>https://dev.to/vanshcodes/created-a-quora-community-for-dartflutter-tips-and-tricks-9fl</guid>
      <description>&lt;p&gt;Dart is a great programming language.&lt;/p&gt;

&lt;p&gt;So I created a Quora Space for Dart/Flutter tips and tricks&lt;/p&gt;

&lt;p&gt;Join as a contributer: &lt;a href="https://dartfluttertipsandtricks.quora.com/?invite_code=Xvo22G8rcyrStbEp47j0"&gt;Click Here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Join as a follower only: &lt;a href="https://dartfluttertipsandtricks.quora.com/?invite_code=nTZS4ujcwEN5iPtRjxOv"&gt;Click Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>darklang</category>
      <category>flutter</category>
    </item>
    <item>
      <title>Flutter: Avoid Widget Rebuild by Using const Constructor</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Wed, 27 Oct 2021 14:40:45 +0000</pubDate>
      <link>https://dev.to/vanshcodes/flutter-avoid-widget-rebuild-by-using-const-constructor-3f20</link>
      <guid>https://dev.to/vanshcodes/flutter-avoid-widget-rebuild-by-using-const-constructor-3f20</guid>
      <description>&lt;p&gt;Buy me a Coffee: &lt;a href="https://www.buymeacoffee.com/noobcoders"&gt;https://www.buymeacoffee.com/noobcoders&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we know that by using the setstate function. Flutter rebuilds the whole UI. Since this is a bad practice and memory intensive.&lt;/p&gt;

&lt;p&gt;To Prevent this initialize it with const&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// As we Know that stateful Widgets rebuild the whole UI. 
// Which is really bad practice!! 
// To Prevent rebuilding of static components like non changing text 
// Initialize them with const  
// Jump to line 38 
import 'package:flutter/material.dart'; 

void main() =&amp;gt; runApp(const MyApp()); 

class MyApp extends StatefulWidget { 
  const MyApp({Key? key}) : super(key: key); 

  @override 
  _MyState createState() =&amp;gt; _MyState(); 
} 

class _MyState extends State&amp;lt;MyApp&amp;gt; { 
  Color _containerColor = Colors.yellow; 

  void changeColor() { 
    setState(() { 
      if (_containerColor == Colors.yellow) { 
        _containerColor = Colors.red; 
        return; 
      } 
      _containerColor = Colors.yellow; 
    }); 
  } 

  @override 
  Widget build(BuildContext context) { 
    return MaterialApp( 
        title: 'Flutter Demo', 
        theme: ThemeData( 
          primarySwatch: Colors.blue, 
        ), 
        home: Scaffold( 
          // Avoid Widget Rebuild by Using const Constructor 
          appBar: AppBar(title: const Text("A Simple App Stateful Widget")), 
          body: Container(decoration:  BoxDecoration(color: _containerColor)), 
          floatingActionButton: FloatingActionButton( 
            onPressed: changeColor, 
            child: Icon(Icons.add), 
            tooltip: "Book Here", 
          ), 
        )); 
  } 
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;See line number 38 here to prevent the Text to be rebuilt. A const was used.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dartpad.dev/?id=776eaab0ab443c66efa7f8ee9c33c3d8&amp;amp;null_safety=true"&gt;Try It Here&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to emulate Ternary Operators of Javascript in Python.</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Mon, 25 Oct 2021 15:47:11 +0000</pubDate>
      <link>https://dev.to/vanshcodes/how-to-emulate-ternary-operators-of-javascript-in-python-4hlc</link>
      <guid>https://dev.to/vanshcodes/how-to-emulate-ternary-operators-of-javascript-in-python-4hlc</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Cv09xmX3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dqcnorw8eqfgvzcly1z0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Cv09xmX3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dqcnorw8eqfgvzcly1z0.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  First For Those Who don't know Ternary Operation
&lt;/h1&gt;

&lt;p&gt;Ternary Operator is a easy and consize way of if-else &lt;/p&gt;

&lt;p&gt;Ok So lets flex some JS muscles.&lt;/p&gt;

&lt;p&gt;The syntax in JS is something like this.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let v = condition ? "True" : "False"&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Here if condition is true. &lt;br&gt;
The value of the variable v becomes True. &lt;br&gt;
While if condition is false. &lt;br&gt;
The value of the variable v becomes False.&lt;/p&gt;

&lt;p&gt;In Python's if-else it would be.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if condition:
    v = "True"
else:
    v = "False"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Now To Emulate This in Python ?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ifTrue = "It is a True Value"
ifFalse = "It is a False Value"
trueValue = 432
c1 = [ifFalse, ifTrue][bool(trueValue)]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Understanding The Code
&lt;/h3&gt;

&lt;p&gt;So in simple if else it would be like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if trueValue:
   c1 = ifTrue
else:
   c2 = ifFalse
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;So How is this Happening?&lt;/strong&gt;&lt;br&gt;
Now lets break it into pieces&lt;br&gt;
&lt;code&gt;c1 = [ifFalse, ifTrue]&lt;/code&gt; is a List. Do you agree?&lt;/p&gt;

&lt;p&gt;c1[0] would be ifFalse.&lt;/p&gt;

&lt;p&gt;c2[1] would be ifTrue.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Agreed?&lt;br&gt;
Now,&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;bool(3)&lt;/code&gt;  will give True in python&lt;/p&gt;

&lt;p&gt;&lt;code&gt;bool(None)&lt;/code&gt;  will give False in python&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Shall We Move on ?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ok So&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a = [ifFalse, ifTrue]
c = a[bool(trueValue)]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;here if &lt;code&gt;bool(trueValue)&lt;/code&gt; is &lt;code&gt;True&lt;/code&gt; then it will get typecasted to integer which is 1.&lt;/p&gt;

&lt;p&gt;And, Whats a[1] it's &lt;code&gt;ifTrue&lt;/code&gt;.&lt;br&gt;
While it its &lt;code&gt;False&lt;/code&gt;. It will get typecasted to a[0] which is &lt;code&gt;ifFalse&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This was a Long One but for short and helpful tricks&lt;br&gt;
Follow &lt;a href="https://www.instagram.com/pythonzen/"&gt;PythonZen On Instagram&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://rebrand.ly/a7p8wz7"&gt;Try it Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Created a Python page on instagram page.</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Sun, 24 Oct 2021 17:30:05 +0000</pubDate>
      <link>https://dev.to/vanshcodes/created-a-python-page-on-instagram-page-47mi</link>
      <guid>https://dev.to/vanshcodes/created-a-python-page-on-instagram-page-47mi</guid>
      <description>&lt;p&gt;Created a Python page on instagram for python tricks and tutorials.&lt;br&gt;
Added a few embeds:&lt;br&gt;
&lt;/p&gt;
&lt;div class="instagram-position"&gt;
  &lt;iframe id="instagram-liquid-tag" src="https://www.instagram.com/p/CVaxQ8BB2XZ/embed/captioned"&gt;
  &lt;/iframe&gt;
  
&lt;/div&gt;
&lt;br&gt;
&lt;div class="instagram-position"&gt;
  &lt;iframe id="instagram-liquid-tag" src="https://www.instagram.com/p/CVXw_twp_i_/embed/captioned"&gt;
  &lt;/iframe&gt;
  
&lt;/div&gt;
&lt;br&gt;
INSTAGRAM: &lt;a href="https://www.instagram.com/pythonzen/"&gt;https://www.instagram.com/pythonzen/&lt;/a&gt;

&lt;p&gt;Here I will post tricks and easy shortcuts related to python programming language.&lt;/p&gt;

</description>
      <category>python</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Made a Keyword Generator for youtube or other social media in Python</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Sun, 24 Oct 2021 17:02:04 +0000</pubDate>
      <link>https://dev.to/vanshcodes/made-a-keyword-generator-for-youtube-or-other-social-media-in-python-3eb</link>
      <guid>https://dev.to/vanshcodes/made-a-keyword-generator-for-youtube-or-other-social-media-in-python-3eb</guid>
      <description>&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/nbXOfoCzg_A"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--f-xXFStk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ncnkm701bw6mdb1onla.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--f-xXFStk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ncnkm701bw6mdb1onla.png" alt="Screenshot of the program running.."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Created a  Keyword Generator for youtube or other social media in Python&lt;/p&gt;

&lt;p&gt;Generates a List of keywords seperated using commas that you can directly paste it.&lt;/p&gt;

&lt;p&gt;Source Code: &lt;a href="https://rebrand.ly/pythonkeywordgensrc"&gt;https://rebrand.ly/pythonkeywordgensrc&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>showdev</category>
    </item>
    <item>
      <title>PF - 2 Operators</title>
      <dc:creator>NoobCoder </dc:creator>
      <pubDate>Sat, 23 Oct 2021 16:14:27 +0000</pubDate>
      <link>https://dev.to/vanshcodes/pf-2-operators-i81</link>
      <guid>https://dev.to/vanshcodes/pf-2-operators-i81</guid>
      <description>&lt;p&gt;Operators in a programming language that tells compiler or interprator to perform arithmatic, relational or logical operations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Arithmatic Operators
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;+&lt;/code&gt;   Adds two operands   A + B will give 30&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;-&lt;/code&gt;   Subtracts second operand from the first A - B will give -10&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;*&lt;/code&gt;   Multiplies both operands    A * B will give 200&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;/&lt;/code&gt;   Divides numerator by de-numerator   B / A will give 2&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;%&lt;/code&gt;   This gives remainder of an integer division B % A will give 0&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Relational Operators
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;==&lt;/code&gt;    Checks if the values of two operands are equal or not, if yes then condition becomes true.  (A == B) is not true.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;!=&lt;/code&gt;    Checks if the values of two operands are equal or not, if values are not equal then condition becomes true. (A != B) is true.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;gt;&lt;/code&gt; Checks if the value of left operand is greater than the value of right operand, if yes then condition becomes true. (A &amp;gt; B) is not true.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;&lt;/code&gt; Checks if the value of left operand is less than the value of right operand, if yes then condition becomes true.    (A &amp;lt; B) is true.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;gt;=&lt;/code&gt;    Checks if the value of left operand is greater than or equal to the value of right operand, if yes then condition becomes true. (A &amp;gt;= B) is not true.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;=&lt;/code&gt;    Checks if the value of left operand is less than or equal to the value of right operand, if yes then condition becomes true.    (A &amp;lt;= B) is true.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Logical Operators
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;    Called Logical AND operator. If both the operands are non-zero, then condition becomes true.    (A &amp;amp;&amp;amp; B) is false.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;||&lt;/code&gt;    Called Logical OR Operator. If any of the two operands is non-zero, then condition becomes true.    (A || B) is true.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;!&lt;/code&gt; Called Logical NOT Operator. Use to reverses the logical state of its operand. If a condition is true then Logical NOT operator will make false.    !(A &amp;amp;&amp;amp; B) is true.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
