<?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 Ujjwal Gupta on Medium]]></title>
        <description><![CDATA[Stories by Ujjwal Gupta on Medium]]></description>
        <link>https://medium.com/@ujjwalkrgupta?source=rss-ef8d73eabfa3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MF8YsWt64M6FIdM5p9-IsA.jpeg</url>
            <title>Stories by Ujjwal Gupta on Medium</title>
            <link>https://medium.com/@ujjwalkrgupta?source=rss-ef8d73eabfa3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 15:56:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ujjwalkrgupta/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[Influencer marketing vs Facebook ads]]></title>
            <link>https://medium.com/starscolab/influencer-marketing-vs-facebook-ads-920699226ef9?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/920699226ef9</guid>
            <category><![CDATA[influencer-marketing]]></category>
            <category><![CDATA[facebook-marketing]]></category>
            <category><![CDATA[influencer-marketing-tips]]></category>
            <category><![CDATA[influencers]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Sat, 03 May 2025 05:13:59 GMT</pubDate>
            <atom:updated>2025-05-03T05:13:59.614Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kw5baQo3hx0azqoZOKFS2A.jpeg" /></figure><p>One of the common question brand owner ask — <strong>“Facebook Ads are cheaper. Why should we spend more on influencer marketing?”</strong></p><p>That’s a fair question — and one we hear often. On the surface, influencer marketing might seem like the pricier option. After all, Facebook ads let you set a budget as low as ₹100 a day. So why are brands still pouring big money into creators?</p><p>Because <strong>influencer marketing offers something performance ads can’t buy: real trust, authentic connection, and lasting value.</strong></p><p>Let’s break down the <strong>true ROI of influencer marketing</strong>, and why it’s <em>not just about cost per view.</em></p><h3>1. 💬 Ads Buy Reach. Influencers Build Trust.</h3><p>Let’s be honest — we all scroll past ads.</p><p>But when a creator we follow shares a product they actually use or love, we <strong>pause</strong>, we <strong>listen</strong>, and we’re more likely to act. This isn’t by accident. Influencer marketing is <strong>word-of-mouth at scale</strong> — and that trust translates into engagement, clicks, and conversions.</p><blockquote>A recommendation from a creator hits differently than an ad from a brand.</blockquote><h3>2. 🎥 You Don’t Just Get Reach — You Get Content</h3><p>With influencer marketing, you’re <strong>not only paying for views</strong>. You’re also getting:</p><ol><li>High-quality content tailored to your niche</li><li>Authentic product demos</li><li>Testimonials that feel real</li></ol><p>This content can be <strong>repurposed</strong> across your website, paid ads, social media, email campaigns — adding value far beyond the original post.</p><blockquote>Great influencers become part of your content team.</blockquote><h3>3. 🧠 Targeted Audience, But With Emotion</h3><p>Sure, Facebook lets you target interests and behaviors. But influencer marketing goes deeper — you’re tapping into <strong>communities</strong> built on shared trust and identity.</p><p>Whether it’s skincare lovers, moms, fitness freaks, or Gen-Z trendsetters — influencers know how to <strong>speak the language</strong> of their audience.</p><blockquote>You’re not just reaching people. You’re resonating with them.</blockquote><h3>4. ⏳ Longer Shelf-Life Than Ads</h3><p>Ads stop the moment your budget runs out. But influencer posts live on — they continue to get:</p><ol><li>Saves</li><li>Shares</li><li>Comments</li><li>Organic discovery</li></ol><p>Influencer content has a <strong>longer tail</strong> than any ad — especially if it’s evergreen, funny, or educational.</p><blockquote>You pay once, but it keeps working.</blockquote><h3>5. 💹 Engagement that Actually Matters</h3><p>The average Facebook ad has a <strong>CTR below 1%</strong>. Meanwhile, influencers (especially nano &amp; micro) often get <strong>5–10%+ engagement</strong>.</p><p>Their content doesn’t just show up — it sparks conversations, DMs, and decision-making.</p><h3>6. 💡 Real Influence Creates Real Demand</h3><p>Let’s not forget: creators are <strong>trendsetters</strong>. They don’t just amplify demand — they <strong>create</strong> it. One viral reel can skyrocket awareness, boost search traffic, and even sell out inventory.</p><p>That’s not something you can always plan for with ads.</p><h3>📊 TL;DR — A Quick Comparison:</h3><p>Facebook Ads | Influencer Marketing</p><p><strong>Cost per view</strong></p><p>✅ Low❌ Higher upfront</p><p><strong>Engagement</strong></p><p>❌ Low✅ High</p><p><strong>Trust &amp; Credibility</strong></p><p>❌ Low✅ Strong</p><p><strong>Content Creation</strong></p><p>❌ None✅ Included</p><p><strong>Longevity</strong></p><p>❌ Ends with budget✅ Lasts longer</p><p><strong>Conversion Quality</strong></p><p>❌ Cold traffic ✅ Warm, intent-driven</p><h3>🧩 Final Thought</h3><p>Yes, influencer marketing may cost more per view than Facebook ads — but it brings <strong>deeper engagement</strong>, <strong>better content</strong>, and <strong>genuine trust</strong> that performance ads alone can’t deliver.</p><p>If you’re building a brand — not just chasing clicks — influencers can be your most valuable partners.</p><p>Want to see how influencer marketing can work for your brand?</p><p>Reach out to us at <strong>Starscolab</strong> — we’ll help you find the right creators and manage everything end to end or you can manage everything by yourself.</p><p>Original article published at : <a href="https://starscolab.com/blog/why-influencer-marketing-costs-more-than-facebook-ads">https://starscolab.com/blog/why-influencer-marketing-costs-more-than-facebook-ads</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=920699226ef9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/influencer-marketing-vs-facebook-ads-920699226ef9">Influencer marketing vs Facebook ads</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Hire UGC Influencers for Maximum Impact]]></title>
            <link>https://medium.com/starscolab/how-to-hire-ugc-influencers-for-maximum-impact-0f0eda01cbc9?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f0eda01cbc9</guid>
            <category><![CDATA[hire-influencers]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[influencers]]></category>
            <category><![CDATA[ugc]]></category>
            <category><![CDATA[influencer-marketing]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Mon, 17 Mar 2025 08:07:36 GMT</pubDate>
            <atom:updated>2025-03-22T16:07:42.411Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxWVupxeECmK3pAHiKj6UQ.jpeg" /><figcaption>starscolab ugc influencers</figcaption></figure><h3>What is UGC?</h3><p>User-Generated Content (UGC) refers to any content — such as videos, images, reviews, or social media posts — created by real users rather than brands. It’s a form of organic content that feels more genuine and relatable.</p><h3>Example of UGC:</h3><p>Imagine you own a skincare brand, and a happy customer posts a video on TikTok showcasing how your product transformed their skin. That video, created by a real user and shared with their followers, is UGC. If you collaborate with an influencer to create similar authentic content for your brand, that is hiring a UGC influencer.</p><p>UGC influencers have become a powerful force in digital marketing. Their ability to create authentic, engaging content makes them a valuable asset for brands looking to build trust and connect with audiences.</p><h3>Real-Life Brands That Succeeded with UGC</h3><ol><li><strong>GoPro</strong> — The brand leveraged UGC by encouraging customers to share their adventurous videos, turning real users into brand ambassadors. Their social media is filled with user-created content, showcasing the power of their cameras.</li><li><strong>Glossier</strong> — A beauty brand that built its success by featuring customer-generated reviews, testimonials, and images. Their customers essentially became their marketers.</li><li><strong>Coca-Cola (Share a Coke Campaign)</strong> — Coca-Cola personalized their bottles with names, inspiring millions of people to share photos with their bottles online.</li><li><strong>Airbnb</strong> — Relies heavily on UGC, featuring real traveler experiences and photos instead of traditional advertising, making their platform feel more personal and trustworthy.</li></ol><h3>Why Hire UGC Influencers?</h3><ol><li><strong>Authenticity</strong> — UGC influencers create real, relatable content that resonates with their audience.</li><li><strong>Higher Engagement</strong> — Content from real users often drives more interaction than traditional ads.</li><li><strong>Cost-Effective</strong> — UGC campaigns are generally more affordable than celebrity endorsements.</li><li><strong>Diverse Content</strong> — Gain a variety of content styles that align with different target demographics.</li></ol><h3>Platforms for Hiring UGC Influencers</h3><p>There are various platforms available for hiring influencers, but if you’re looking for a simple, transparent, and effective way to collaborate with UGC creators, <strong>Starscolab</strong> is a great option. It allows brands to work directly with influencers without middlemen and transparency, making the process straightforward and cost-effective.</p><p>To explore UGC influencers and start hiring, visit: <a href="https://starscolab.com/influencers/ugc">View UGC Influencers</a></p><h3>How to Hire UGC Influencers (It’s Simple!)</h3><ol><li><strong>Sign Up &amp; Create Your Business Profile</strong> — goto <a href="https://starscolab.com/register">starscolab register page</a> and Set up your brand’s profile in minutes.</li><li><strong>Search for Influencers</strong> — Use filters to find influencers by niche, platform, or engagement level.</li><li><strong>Send a Collaboration Request</strong> — Reach out directly with your campaign details.</li><li><strong>Discuss &amp; Finalize</strong> — Agree on content, timeline, and payment terms.</li><li><strong>Get Content &amp; Track Results</strong> — Receive authentic content and track performance easily.</li></ol><h3>Read the Full Guide</h3><p>For a step-by-step guide on how to hire UGC influencers effectively, check out the original article on Starscolab: <a href="https://starscolab.com/blog/how-to-hire-ugc-influencers-on-starscolab-for-maximum-impact">How to Hire UGC Influencers on Starscolab for Maximum Impact</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f0eda01cbc9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/how-to-hire-ugc-influencers-for-maximum-impact-0f0eda01cbc9">How to Hire UGC Influencers for Maximum Impact</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Promote Your Business Effectively with influencer marketing]]></title>
            <link>https://medium.com/starscolab/promote-your-business-effectively-with-influencer-marketing-decda2430888?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/decda2430888</guid>
            <category><![CDATA[influencer-marketing]]></category>
            <category><![CDATA[influencers]]></category>
            <category><![CDATA[colab-with-influencer]]></category>
            <category><![CDATA[promote-business]]></category>
            <category><![CDATA[business-promotion]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Wed, 26 Feb 2025 09:10:00 GMT</pubDate>
            <atom:updated>2025-02-26T09:10:00.669Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0_hvhHCr7sSp1aSkn6zvWg.jpeg" /></figure><p>In today’s digital world, influencer marketing has become one of the most effective ways for brands to reach their target audience. Influencers have the power to shape consumer behavior, build trust, and create authentic engagement around a product or service. If you’re looking for a way to grow your business, partnering with influencers can be a game-changer.</p><h3>Find the Right Influencers for Your Business with Starscolab</h3><p><strong>Starscolab</strong> is a marketplace that connects businesses with influencers who align with their industry and campaign goals. Instead of spending hours searching manually, you can use Starscolab to discover influencers who can drive real results for your business.</p><p>Search for influencers now — <a href="https://starscolab.com/influencers">https://starscolab.com/influencers</a></p><h3>Why Influencer Marketing Works</h3><p>Unlike traditional advertising, influencer marketing leverages the credibility and connection that influencers have with their audience. People trust recommendations from influencers they follow, making their endorsements more impactful than standard ads. Here are some key benefits of influencer marketing:</p><ol><li><strong>Authenticity:</strong> Influencers create content that feels organic and relatable, making it easier for their audience to engage.</li><li><strong>Targeted Reach:</strong> You can collaborate with influencers who align with your brand’s niche, ensuring that your message reaches the right people.</li><li><strong>Higher Engagement:</strong> Influencer-generated content tends to have higher engagement rates compared to traditional marketing methods.</li><li><strong>Cost-Effective:</strong> Compared to big-budget ad campaigns, working with micro and mid-tier influencers can provide a strong return on investment.</li></ol><h3>How to Leverage Influencers to Promote Your Business</h3><h3>1. Define Your Goals &amp; Campaign Strategy</h3><p>Before reaching out to influencers, define what you want to achieve. Do you want to increase brand awareness, drive sales, or generate user-generated content? Clear goals will help influencers create the best content to promote your business.</p><p>You can add your goals while creating job or campaign in the description.</p><h3>2. Choose the Right Type of Collaboration</h3><p>There are various ways influencers can promote your business, including:</p><ol><li><strong>Sponsored Posts:</strong> Influencers create and share posts about your product or service.</li><li><strong>Giveaways &amp; Contests:</strong> Partner with influencers to run a contest that encourages audience participation.</li><li><strong>Product Reviews &amp; Unboxings:</strong> Having an influencer review your product can build trust and generate interest.</li><li><strong>Affiliate Marketing:</strong> Offer influencers a commission for every sale they drive through their unique referral links.</li><li><strong>Live Streams &amp; Q&amp;A Sessions:</strong> Engage audiences in real-time by having influencers showcase your brand live.</li></ol><h3>3. Track Performance &amp; Optimize</h3><p>To ensure your influencer marketing campaign is successful, track key performance metrics such as engagement rates, website traffic, and sales conversions. <strong>Starscolab</strong> helps businesses measure the effectiveness of influencer collaborations by providing insights into engagement and reach.</p><p>Make sure to ask for report once you are done with the collaboration. We recommend one week of time to get the report after the post is shared by influncer.</p><h3>4. Build Long-Term Relationships</h3><p>Instead of one-time partnerships, consider building long-term relationships with influencers who truly believe in your brand. Consistent collaborations can lead to stronger brand affinity and loyalty among their audience.</p><h3>Get Started with Influencer Marketing on Starscolab</h3><p>Finding and collaborating with influencers shouldn’t be complicated. With <strong>Starscolab</strong>, you can connect with influencers who can genuinely promote your business and drive real results. Whether you’re a startup or an established brand, Starscolab provides the tools to make influencer marketing simple and effective.</p><p>Join <a href="https://starscolab.com/"><strong>Starscolab</strong></a> today and start growing your business with the power of influencer marketing!</p><p>Original article published at — <a href="https://starscolab.com/blog/how-Influencers-can-promote-your-business-effectively">https://starscolab.com/blog/how-Influencers-can-promote-your-business-effectively</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=decda2430888" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/promote-your-business-effectively-with-influencer-marketing-decda2430888">Promote Your Business Effectively with influencer marketing</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Campaigns for influencer marketing]]></title>
            <link>https://medium.com/starscolab/introducing-campaigns-for-influencer-marketing-97059d46cf17?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/97059d46cf17</guid>
            <category><![CDATA[influencer-marketing]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[marketing-campaign]]></category>
            <category><![CDATA[campaign-management]]></category>
            <category><![CDATA[social-media-marketing]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Tue, 18 Feb 2025 15:22:40 GMT</pubDate>
            <atom:updated>2025-02-18T15:22:40.981Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine this: You’re launching a new product and know influencer marketing is the best way to get the word out. You set aside a budget, define your goals, and start reaching out to influencers.</p><p>At first, everything seems under control. But as you start hiring influencers, you realize managing a marketing campaign is more complicated than expected. You’re tracking multiple collaborations, manually managing budgets, and struggling to measure whether your efforts are paying off. The more influencers you onboard, the harder it gets to track spending and results.</p><p>Wouldn’t it be great if there was a way to organize everything in one place?</p><p>That’s why we built <strong>Campaigns on Starscolab</strong> — a feature designed to help you manage influencer marketing campaigns efficiently without the chaos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6W0jh79zGV_ZTyhbxSn71g.jpeg" /></figure><p>If you are looking to hire influencer with ease, please goto our website —</p><p><a href="https://starscolab.com/">The Professional Marketplace for Influencers</a></p><h3>Why You Need Campaigns</h3><p>Running a marketing campaign isn’t just about hiring influencers. It’s about <strong>spending your budget wisely and tracking results effectively</strong>. Without a structured approach, it’s easy to lose track of spending, miss targets, or end up over budget.</p><p>With <strong>Starscolab’s Campaign Feature</strong>, you can <strong>define your budget, set clear goals, and link multiple jobs under one campaign</strong>. This gives you full visibility over your spending and progress, making it easier to manage and optimize your marketing efforts.</p><h3>How It Works</h3><ol><li><strong>Create a Campaign</strong> — Set your budget, goals, and expected results.</li><li><strong>Add Jobs to Your Campaign</strong> — Create multiple jobs under one campaign, each targeting different types of influencers.</li><li><strong>Manage &amp; Track Everything</strong> — Monitor your spending and progress in real-time with clear status updates.</li></ol><h3>How Starscolab’s Campaign Feature Helps You</h3><p>With <strong>Campaigns on Starscolab</strong>, you can:</p><p>✅ <strong>Define Your Budget &amp; Goals</strong> — Set a total budget and expected outcomes for your campaign.</p><p>✅ <strong>Link Multiple Jobs</strong> — Group different influencer collaborations under one campaign.</p><p>✅ <strong>Track Budget &amp; Progress</strong> — See how much you’ve spent and how close you are to achieving your targets.</p><p>✅ <strong>Stay Organized</strong> — No more spreadsheets or scattered campaigns — everything is managed in one place.</p><p>✅ <strong>Get Smart Status Updates</strong> — Starscolab automatically tracks your campaign and provides status updates like <strong>Campaign Successful, Budget Exhausted, or In Progress</strong>, making it easier to manage and make informed decisions.What’s the Difference Between a Job and a Campaign?</p><p>Many brands struggle with structuring their marketing efforts, often confusing individual jobs with broader campaigns. Here’s how they differ:</p><ol><li><strong>A Job is Public</strong> — A job is created to attract influencers. You specify the type of influencer you’re looking for, and influencers can apply directly to collaborate.</li><li><strong>A Campaign is Private</strong> — A campaign is an internal tool where you manage your <strong>budget, goals, and multiple jobs</strong> in one place. You can create several jobs from a single campaign, ensuring that all influencer collaborations align with your marketing strategy.</li></ol><p>In short, jobs focus on finding influencers, while campaigns help you manage and optimize multiple jobs under one structured plan.</p><h3>What’s the Difference Between a Job and a Campaign?</h3><p>Many brands struggle with structuring their marketing efforts, often confusing individual jobs with broader campaigns. Here’s how they differ:</p><ol><li><strong>A Job is Public</strong> — A job is created to attract influencers. You specify the type of influencer you’re looking for, and influencers can apply directly to collaborate.</li><li><strong>A Campaign is Private</strong> — A campaign is an internal tool where you manage your <strong>budget, goals, and multiple jobs</strong> in one place. You can create several jobs from a single campaign, ensuring that all influencer collaborations align with your marketing strategy.</li></ol><p>In short, jobs focus on finding influencers, while campaigns help you manage and optimize multiple jobs under one structured plan.</p><h3>Start Managing Your Marketing Campaigns Better</h3><p>The <strong>Starscolab Campaign Feature</strong> is now live! Say goodbye to disorganized influencer marketing efforts and hello to a structured, budget-focused approach.</p><p>Original article published at — <a href="https://starscolab.com/blog/introducing-campaigns-on-starscolab">https://starscolab.com/blog/introducing-campaigns-on-starscolab</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97059d46cf17" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/introducing-campaigns-for-influencer-marketing-97059d46cf17">Introducing Campaigns for influencer marketing</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hire top pune influencer on starscolab]]></title>
            <link>https://medium.com/starscolab/hire-top-pune-influencer-on-starscolab-1ce5b7affbd1?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ce5b7affbd1</guid>
            <category><![CDATA[influencer-marketplace]]></category>
            <category><![CDATA[hire-influencers]]></category>
            <category><![CDATA[influencer-marketing]]></category>
            <category><![CDATA[pune-influencer]]></category>
            <category><![CDATA[influencers]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 08:53:04 GMT</pubDate>
            <atom:updated>2025-01-22T08:53:04.034Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fuey57wVfKubir6eei7Lyg.jpeg" /><figcaption>starscolab pune influencers</figcaption></figure><p>Pune, known as the Oxford of the East and the cultural capital of Maharashtra, is a city that thrives on innovation, education, and a vibrant social scene. It’s a perfect place for brands looking to connect with a diverse and dynamic audience. Starscolab offers a network of <strong>50+ influencers</strong> from Pune, ready to collaborate and elevate your brand’s visibility.</p><p>Checkout all pune influencer : <a href="https://starscolab.com/influencers/pune">https://starscolab.com/influencers/pune</a></p><h3>Why Hire Pune Influencers on Starscolab?</h3><ol><li><strong>Diverse Influencer Network:</strong> From micro-influencers specializing in niche content to premium influencers with large followings, Starscolab has the perfect match for your campaigns.</li><li><strong>Cultural Relevance:</strong> Pune influencers bring a deep understanding of the local culture and audience, making your campaigns more authentic and impactful.</li><li><strong>Direct Collaboration:</strong> No intermediaries, no hidden fees. Collaborate directly with influencers for transparent and cost-effective campaigns.</li><li><strong>Flexible Partnerships:</strong> Many influencers are open to free collaborations or customized terms, ensuring you get the best value for your budget.</li></ol><h3>Pune: A City Full of Opportunities</h3><p>As a bustling center for education, technology, and startups, Pune offers a unique blend of tradition and modernity. Collaborating with influencers from Pune means tapping into a well-educated, tech-savvy, and culturally rich audience that’s perfect for both local and national campaigns.</p><h3>Special Offer: ₹300 Discount on Your First Collaboration!</h3><p>Starscolab is here to make your first step easy! Get an <strong>exclusive ₹300 discount</strong> on your first collaboration. Use this limited-time offer to create impactful campaigns with Pune’s top influencers.</p><p><strong>Sign up now and claim your discount today! 🚀</strong></p><p><strong>Hire Pune Influencers Today!</strong></p><h3>Are You an Influencer in Pune?</h3><p>If you’re an influencer based in Pune, <strong>join Starscolab today</strong> to connect with brands looking for fresh, unique voices like yours. Showcase your talent, expand your reach, and be part of exciting campaigns tailored to your expertise.</p><p><strong>Join Starscolab and grow your influence!</strong> 🚀</p><p>Original article posted at — <a href="https://starscolab.com/blog/hire-top-pune-influencer">https://starscolab.com/blog/hire-top-pune-influencer</a></p><p><strong>#PuneInfluencers #InfluencerMarketing #Starscolab #BrandCollaboration #SocialMediaMarketing #HireInfluencer #InfluencerCampaigns #DigitalMarketing #FirstCollabDiscount</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ce5b7affbd1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/hire-top-pune-influencer-on-starscolab-1ce5b7affbd1">Hire top pune influencer on starscolab</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hire top influencer in indore]]></title>
            <link>https://medium.com/starscolab/hire-top-influencer-in-indore-efe1f20a9cea?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/efe1f20a9cea</guid>
            <category><![CDATA[influencers]]></category>
            <category><![CDATA[hire-influencers]]></category>
            <category><![CDATA[indoreinfluencer]]></category>
            <category><![CDATA[influencer-marketing]]></category>
            <category><![CDATA[indore]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 17:42:22 GMT</pubDate>
            <atom:updated>2025-01-13T17:42:22.488Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIL1N_enM0Pq5N4Q8gGM-A.png" /></figure><p>Indore, the commercial capital of Madhya Pradesh, is a city that blends tradition and modernity seamlessly. Known for its rich culture, delectable food, and vibrant business environment, Indore is also a hub for digital growth and social media influence. If you’re looking to promote your brand in this thriving city, <a href="https://starscolab.com/">Starscolab</a> connects you with a talented network of <strong>50+ influencers</strong> from Indore, ready to collaborate and take your brand to new heights.</p><p>Check all indore influencers here -<a href="https://starscolab.com/influencers/Indore">https://starscolab.com/influencers/Indore</a></p><h3>Why Choose Indore Influencers on Starscolab?</h3><ul><li><strong>Diverse Influencer Base:</strong> From micro-influencers with niche audiences to premium influencers with city-wide reach, our network has the right match for every brand.</li><li><strong>Cultural Connection:</strong> Indore influencers understand the pulse of their audience, making your campaigns more relatable and effective.</li><li><strong>Direct Access:</strong> Collaborate directly with influencers, cutting out middlemen for a more transparent and cost-effective partnership.</li><li><strong>Cost-Effective Options:</strong> Many influencers are open to free collaborations for unique opportunities, ensuring flexibility for all campaign sizes.</li></ul><h3>Indore: A City of Opportunities</h3><p>Indore isn’t just a city; it’s a growing hub for businesses, startups, and digital innovation. As the cleanest city in India and a major center for education, trade, and culture, it offers a perfect audience for brands across industries. Collaborating with influencers from Indore means tapping into a vibrant, diverse, and engaged demographic.</p><h3>Special Offer: ₹300 Discount on Your First Collaboration!</h3><p>To help you get started, Starscolab is offering an <strong>exclusive ₹300 discount</strong> for your <strong>first collaboration</strong>. Don’t miss this chance to elevate your brand’s visibility in Indore.</p><p><strong>Sign up today and claim your discount!</strong> 🚀</p><p><strong>Hire Indore Influencers Today!</strong></p><h3>Are You an Influencer in Indore?</h3><p>If you’re an influencer based in Indore, <strong>join Starscolab now</strong> and connect with brands eager to collaborate. Showcase your skills, grow your reach, and be part of exciting brand campaigns tailored to your expertise.</p><p><strong>Join Starscolab and shine brighter!</strong> 🚀</p><p>Original article published at — <a href="https://starscolab.com/blog/hire-top-indore-influencer">https://starscolab.com/blog/hire-top-indore-influencer</a></p><p><strong>#IndoreInfluencers #InfluencerMarketing #Starscolab #BrandCollaboration #SocialMediaMarketing #InfluencerCampaigns #CollaborateWithInfluencers #HireInfluencer #DigitalMarketingIndore #FirstCollabDiscount</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efe1f20a9cea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/hire-top-influencer-in-indore-efe1f20a9cea">Hire top influencer in indore</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hire Top Jabalpur Influencers on Starscolab]]></title>
            <link>https://medium.com/starscolab/hire-top-jabalpur-influencers-on-starscolab-e32d43294c27?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e32d43294c27</guid>
            <category><![CDATA[influencers]]></category>
            <category><![CDATA[jabalpur]]></category>
            <category><![CDATA[influencer-search]]></category>
            <category><![CDATA[hire-influencers]]></category>
            <category><![CDATA[influencer-marketing]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Wed, 08 Jan 2025 07:16:25 GMT</pubDate>
            <atom:updated>2025-01-08T12:18:49.861Z</atom:updated>
            <content:encoded><![CDATA[<p>Starscolab is a platform where you can find influencers as per your requirement and send colab request. Starscolab has influencers in all categories like fashion, lifestyle, travel, technology etc and cities like delhi, mumbai, etc.</p><p>Starscolab has more than 50 + influencers from jabalpur city from micro to premium ready to collaborate with you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JxrrF6cScQboRz_inkRL6g.jpeg" /><figcaption>starscolab jabalpur influencers</figcaption></figure><p>Here is a link to all jabalpur influencers — <a href="https://starscolab.com/influencers/jabalpur">https://starscolab.com/influencers/jabalpur</a></p><h3>Why Choose Jabalpur Influencers on Starscolab?</h3><ol><li><strong>Diverse Talent Pool:</strong> From micro-influencers with niche audiences to premium influencers with a broad reach, you’ll find the perfect match for your campaign.</li><li><strong>Direct Collaboration:</strong> Skip the middlemen and connect directly with influencers.</li><li><strong>Cost-Effective Partnerships:</strong> Many influencers are open to collaborations at flexible terms, including free partnerships for the right opportunities.</li></ol><h3>Perfect for Every Campaign</h3><p>Whether you’re launching a new product, promoting an event, or building brand awareness, influencers from Jabalpur on Starscolab are ready to amplify your message.</p><h3>Special Offer: ₹300 Discount on Your First Collaboration!</h3><p>Starscolab is offering an <strong>exclusive ₹300 discount</strong> for your <strong>first collaboration</strong>. Take advantage of this limited-time opportunity and give your brand the boost it deserves.</p><p><strong>Sign up now and claim your discount today! 🚀</strong></p><p><a href="https://starscolab.com/influencers/jabalpur"><strong>Hire Jabalpur Influencers Today!</strong></a></p><h3>Are You an Influencer?</h3><p>If you’re an influencer based in Jabalpur, <strong>join Starscolab today</strong> and connect with brands looking for your unique voice. Start building your profile and open doors to exciting collaboration opportunities!</p><p><strong>Join Now and Grow with Starscolab!</strong> 🚀</p><p>Original article published at — <a href="https://starscolab.com/blog/hire-top-jabalpur-influencers-on-starscolab">https://starscolab.com/blog/hire-top-jabalpur-influencers-on-starscolab</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e32d43294c27" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/hire-top-jabalpur-influencers-on-starscolab-e32d43294c27">Hire Top Jabalpur Influencers on Starscolab</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing starscolab : Revolutionizing Influencer Marketing]]></title>
            <link>https://medium.com/starscolab/introducing-starscolab-revolutionizing-influencer-marketing-0a0133851606?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a0133851606</guid>
            <category><![CDATA[influencer-marketing]]></category>
            <category><![CDATA[social-media-marketing]]></category>
            <category><![CDATA[content-marketing]]></category>
            <category><![CDATA[hire-influencers]]></category>
            <category><![CDATA[influencers]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Sun, 24 Nov 2024 11:29:42 GMT</pubDate>
            <atom:updated>2024-11-24T11:40:13.153Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing starscolab : Revolutionizing Influencer Marketing</h3><p>The influencer marketing space is evolving rapidly, and both influencers and businesses are facing unique challenges. Influencers struggle to manage their online presence across multiple platforms, while businesses often find it hard to identify the right influencers for their campaigns.</p><p><a href="https://starscolab.com/"><strong>Starscolab</strong></a> is here to solve these problems by providing a streamlined platform for both influencers and businesses to connect, collaborate, and grow together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gi_VJn54mNU7eywjMAYwsg.png" /><figcaption>starscolab</figcaption></figure><h3>The Problem: Challenges Faced by Influencers and Businesses</h3><h4>For Influencers:</h4><ol><li><strong>Getting Discovered</strong>: With so many creators out there, standing out and getting noticed by businesses can be difficult.</li><li><strong>Building a Unique Portfolio</strong>: Influencers often struggle to present their work and presence across multiple platforms in one cohesive way.</li><li><strong>Setting Collaboration Prices</strong>: Determining how much to charge for collaborations can be tricky without a clear industry standard. Starscolab automatically set it for you or you can set your price as per your requirement.</li><li><strong>Searching for Opportunities</strong>: Influencers need a simple way to find brand collaborations and job offers that match their skills and niche.</li><li><strong>Managing Multiple Social Links</strong>: Sharing your work across different platforms requires constantly managing multiple profiles, making it harder for businesses to reach out.</li><li><strong>Building Reputation</strong>: Influencers need to gain credibility in a competitive market, and showcasing their reputation becomes crucial.</li><li><strong>Growwing</strong> : How to grow and earn more money. Understanding how to be better, identifying mistakes.</li></ol><h4>For Businesses:</h4><ol><li><strong>Finding the Right Influencers</strong>: With countless influencers available, finding the right match for your brand can be a daunting task.</li><li><strong>Setting Clear Collaboration Prices</strong>: Determining how much to pay influencers for different types of work can be confusing.</li><li><strong>Building Long-Term Relationships</strong>: Brands seek to establish lasting connections with influencers but often struggle to maintain them.</li><li><strong>Managing Multiple Job Posts</strong>: Businesses need an efficient way to post jobs and opportunities while keeping track of ongoing collaborations.</li><li><strong>Reaching a Broader Audience</strong>: Businesses need to ensure their job postings and collaborations are visible to the right influencers.</li></ol><h3>The Solution: Starscolab</h3><p>Starscolab is a powerful platform that addresses these problems head-on by simplifying the way influencers and businesses interact with one another. Here’s how we help both sides:</p><h4>For Influencers:</h4><ul><li>🌟 <strong>Get Discovered by Businesses</strong>: With a profile that is optimized for search engines, your work and presence are more visible, allowing businesses to find you easily.</li><li>👤 <strong>Unique Portfolio</strong>: Showcase all your social media platforms, collaborations, and achievements in one central location. No more juggling multiple links!</li><li>💰 <strong>Set Your Collaboration Price</strong>: Clearly define how much you charge for various types of collaborations, helping businesses know what to expect.</li><li>🔍 <strong>Search for Jobs</strong>: Find brand partnerships and collaboration opportunities that align with your interests and skill set.</li><li>📢 <strong>Boost Post</strong>: Increase the visibility of your posts and profiles, ensuring that your content reaches the right audience.</li><li>🚀 <strong>Shape Your Career</strong>: Take control of your career by connecting with brands, negotiating deals, and building long-term relationships.</li><li>🏆 <strong>Earn Reputation</strong>: Build credibility by showcasing your work and getting feedback from brands and collaborators.</li><li>💬 <strong>Review System</strong>: Each collaboration on Starscolab comes with a review from businesses, helping you showcase your past work and build trust with future partners. Reviews give businesses a better understanding of your professionalism, reliability, and performance.</li><li>📝 <strong>Collaboration History</strong>: Track your past collaborations and demonstrate your experience to potential partners. This feature helps you build a solid reputation and makes it easier to attract future opportunities.</li><li>🤝 <strong>Invite Your Manager</strong>: For influencers who want to focus entirely on content creation, Starscolab offers an <strong>invite feature</strong> that allows you to onboard your manager to handle collaborations, pricing, and negotiations on your behalf.</li></ul><h4>For Businesses:</h4><ul><li>📢 <strong>Post Jobs</strong>: Share collaboration opportunities, ensuring that the right influencers are aware of your brand’s needs.</li><li>💵 <strong>Set Price for Each Job</strong>: Set clear pricing for each collaboration, helping influencers understand the value of your partnership.</li><li>🔍 <strong>Search for Influencers</strong>: Easily search for influencers based on their niche, engagement, and profile to find the perfect match for your campaign.</li><li>📢 <strong>Boost Post</strong>: Give your job postings an extra push to increase visibility and attract more qualified influencers.</li><li>🤝 <strong>Build Long-Term Relationships</strong>: Develop lasting connections with influencers, fostering strong partnerships that benefit both sides.</li><li>💬 <strong>Review System</strong>: Leave reviews for influencers after each collaboration, helping future businesses understand their track record and performance. Reviews help influencers gain credibility and trust in the community.</li><li>📝 <strong>Collaboration History</strong>: Keep track of your previous collaborations with influencers, helping you manage partnerships and find the right match for future opportunities.</li><li>🤝 <strong>Invite Team Members</strong>: Businesses can invite team members or managers to handle job postings, negotiations, and collaborations, making it easier to scale campaigns without micromanaging.</li></ul><h3>Why Starscolab Matters</h3><p>In the crowded and competitive world of influencer marketing, <strong>Starscolab</strong> simplifies the process for both influencers and businesses. By providing a unified platform to manage profiles, set prices, find opportunities, and build long-term relationships, Starscolab ensures that influencers and businesses can connect in meaningful, efficient ways.</p><p>With <strong>Starscolab’s review system</strong> and <strong>collaboration history</strong> features, both influencers and businesses can make more informed decisions. Influencers can showcase their professionalism and reputation, while businesses can build stronger relationships with influencers who have a proven track record.</p><p>For influencers, it’s a chance to take control of their digital presence and career. For businesses, it’s an opportunity to find the right influencer, set clear terms, and foster long-lasting collaborations.</p><p>Join <strong>Starscolab</strong> today and revolutionize the way you manage and grow your career as an influencer, or find the perfect influencer for your brand.</p><p>Register for free today - <a href="https://starscolab.com/">https://starscolab.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a0133851606" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starscolab/introducing-starscolab-revolutionizing-influencer-marketing-0a0133851606">Introducing starscolab : Revolutionizing Influencer Marketing</a> was originally published in <a href="https://medium.com/starscolab">StarsColab</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[useState and useEffect from scratch]]></title>
            <link>https://medium.com/codex/usestate-and-useeffect-from-scratch-503c510f0d10?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/503c510f0d10</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Wed, 20 Nov 2024 09:08:41 GMT</pubDate>
            <atom:updated>2024-11-21T13:56:06.067Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qAsI_50il_LqgHHGNSBB2Q.png" /></figure><p>If you are react developer — then you know how awesome is <strong>useState</strong> and <strong>useEffect</strong> : in shorts simple and effective.</p><p>But have you ever wondered how they are working internally ? Can you create something like that and use it in your day to day coding.</p><p>In this article i am going to explain how to create your own useState and useEffect.</p><p>I have also created a youtube video where i have explained the same with debugging of all the errors . I highly recommend watching this video as it lets you understand how to go from a simple method to complete implementation which means understanding all the errors during the building.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOGM_reLZzOM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOGM_reLZzOM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOGM_reLZzOM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/471fdb3df36c3dc28d27578bbb9ff610/href">https://medium.com/media/471fdb3df36c3dc28d27578bbb9ff610/href</a></iframe><h3>useState</h3><p>Let’s first start with useState. useState is a method which is used to initialize the state with a value. It returns an array which has two value— first value is state value and second value is a method which can be used to set the value.</p><pre>const [counter, setCounter] = useState(0);</pre><p>This is the syntax of useState. Let’s implement this -</p><p>First let’s create a method which looks similar in definition -</p><pre>function useState(defaultValue) {<br>    function setValue(value) {<br>        defaultValue = value;<br>    }<br>    return [defaultValue, setValue];<br>}</pre><p>Now let’s use this method in a component. Let’s create a simple component -</p><pre>function MyComponent() {<br>    const [counter, setCounter] = useState(0);<br>    console.log(&#39;counter&#39;, counter);<br>}</pre><p>Now let’s call MyComponent and execute our useState call</p><pre>MyComponent();</pre><p>You will see the value of counter logged in console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QxoywUtYs3zKX461p62yhg.png" /></figure><p>Nice, now let’s call setState to change the value of counter.</p><pre>function MyComponent() {<br>    const [counter, setCounter] = useState(0);<br>    console.log(&#39;counter&#39;, counter);<br>    setCounter(1);<br>    console.log(&#39;updated counter&#39;, counter)<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QX6MuCnp9-CVAfI-t9FPpw.png" /></figure><p>oh our counter value is still zero. Why is that ? 🤔</p><p>Well this is because, whenever you change the value of a state — the method should have been reexecuted , this is also how react does it. The reexecution will make sure reinitialize everything with new state value.</p><p>So in order to achieve this, we need to update our <strong>setValue</strong> method inside <strong>useState.</strong></p><pre>function useState(defaultValue) {<br>    function setValue(value) {<br>        defaultValue = value;<br>        // reexecuting method myComponent<br>        render()<br>    }<br>    return [defaultValue, setValue];<br>}<br><br>function MyComponent() {<br>    const [counter, setCounter] = useState(0);<br>    console.log(&#39;counter&#39;, counter);<br>    setCounter(1);<br>    console.log(&#39;updated counter&#39;, counter)<br>}<br><br>function render(){<br>   MyComponent();<br>}<br><br>render();</pre><p>In the above code -</p><ul><li>We have created a method render which is executing our component.</li><li>We are calling render method inside setValue to reexecute the component.</li><li>Also we are executing render method first. Previosuly we were executing MyComponent, but since now MyComponent is inside the render method, so we need to call render.</li></ul><p>let’s see output —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JuZW1FpIm3kvHk2zQUeSFg.png" /></figure><p>We are getting issue of infinite loop 😫, why is this now ?</p><p>This is because when setValue method calls renders method, it reexecutes the MyComponent and MyComponent again calls setState method which again calls render, thus process forever runs.</p><p>How to fix this ?</p><p>Actually we are executing the setCounter method in wrong way, if we wanted to make value of counter to 1, we could have initialized with 1 but instead we are calling setCounter method.</p><p>We need to call setCounter method in a some event as in react you would do it. You change the value inside an event e.g — onclick, oninput etc. right ?</p><p>So let’s do the same here. Let’s create a method which could be executed asychronously .</p><pre>function MyComponent() {<br>    const [counter, setCounter] = useState(0);<br>    console.log(&#39;counter&#39;, counter);<br><br>    global[&#39;setCounter]= (value)=&gt;{<br>        setCounter(1);<br>    }<br>}</pre><p>In the above method, we have declared setCounter method on global which is similar to window in browser environment.</p><p>now let’s call the setCounter method from outside.</p><pre>render();<br>global.setCounter(1);</pre><p>let’s run our code -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A4Jw80_vKMb0xmgYcEyJgg.png" /></figure><p>now our code is not throwing infinite loop error, but output is still zero.</p><p>😵</p><p>Worry not, we will solve this together. Let’s find out why this still happening.</p><p>If you will observe this — when we call setCounter, the render method is called which call MyComponent. When MyComponent is executed, the counter value is reinitialized to zero and that’s why the value of counter is logged to zero.</p><p>How to solve this ? 🤔</p><p>Somewhere in this execution cycle, our new value is getting lost. So we need to preserve our new value and return whenever this is available.</p><p>So let’s save our new Value in a variable</p><pre>let newStateValue;<br>function useState(defaultValue) {<br>    const value = newStateValue || defaultValue;<br>    function setValue(value) {<br>        newStateValue = value;<br>        // reexecuting method myComponent<br>        render()<br>    }<br>    return [value, setValue];<br>}</pre><p>In the above code, we are just storing new value inside newStateValue and returning whenever it is present.</p><p>Let’s run the output -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VB63OjaVFc0l5o16TkR9_w.png" /></figure><p>So finally we have implemented useState.</p><p>The implementation of useEffect follows a similar approach. Since this article is already quite long, we’ll leave it to you to explore further. For detailed guidance, feel free to refer to the videos mentioned earlier in the article.Thanks for reading, i hope you liked it.</p><p>Don’t forget to clap 👏 the article. One clap is thousand motivation for me.</p><blockquote><em>💁‍♂ Also if you like to watch tech and coding videos, please subscribe to my youtube channel. Where i share lot of tech tips, news, experiment etc.</em></blockquote><blockquote><a href="https://www.youtube.com/@codewithujjwalgupta"><em>https://www.youtube.com/@codewithujjwalgupta</em></a></blockquote><p>Connect with me at -</p><p>Linkedin — <a href="https://www.linkedin.com/in/ujjwalkrgupta/">https://www.linkedin.com/in/ujjwalkrgupta/</a></p><p>Github — <a href="https://github.com/ujjwalguptaofficial">https://github.com/ujjwalguptaofficial</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=503c510f0d10" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codex/usestate-and-useeffect-from-scratch-503c510f0d10">useState and useEffect from scratch</a> was originally published in <a href="https://medium.com/codex">CodeX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Express 5 launched finally, what’s new ?]]></title>
            <link>https://javascript.plainenglish.io/express-5-launched-finally-whats-new-f7de429cdb93?source=rss-ef8d73eabfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7de429cdb93</guid>
            <category><![CDATA[code-with-ujjwal]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[expressjs]]></category>
            <dc:creator><![CDATA[Ujjwal Gupta]]></dc:creator>
            <pubDate>Wed, 06 Nov 2024 06:57:46 GMT</pubDate>
            <atom:updated>2024-11-07T09:54:50.056Z</atom:updated>
            <content:encoded><![CDATA[<h3>Express 5 launched finally, what’s new?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p6gqpKMvFu9sxM3xj7RbgA.png" /><figcaption>what’s new in express5 — code with ujjwal poster</figcaption></figure><p>Expressjs is a popular framework for nodejs, you can say its foundation of nodejs. The current version is express 4 which is the most popular and stable version and work on next version Express5 was being done but super slow.</p><p>Express5 is finally released after wait of 10 years with some major changes. In this article we are going to cover all these changes.</p><p>If you prefers to watch videos, i have created a video with proper explanation and comparision with expressjs4.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTsUpLjA5H5E%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTsUpLjA5H5E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTsUpLjA5H5E%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/32f7b8a3ae3e6057ca01f4c7950e6520/href">https://medium.com/media/32f7b8a3ae3e6057ca01f4c7950e6520/href</a></iframe><p>Here are 10 major changes in express 5.</p><h4>1. Support for es6</h4><p>Express5 now supports es6 which means we can use import instead of require and all other modern ecmascript features. This allows developers to write much cleaner code and use all modern javascript syntax.</p><h4>2. Promise rejection support</h4><p>In express4 if you are using promise/async await code and if error happens, you had to manually catch the exception and then pass the error in next middleware.</p><p>Express5 automatically handles this which means focus on your logic not handling the exception.</p><h4>3. Builtin body parser</h4><p>In Express 4 we had to install seperate library “body-parser” for handling post data.</p><p>Express 5 has body-parser integrated internally which means no extra dependency.</p><h4>4. req.param(name) removed</h4><p>In earlier version of express — you could extract forms data using</p><pre>req.param(name)</pre><p>This could be data from query, param or even body which confuses the source of data. This was already deprecated.</p><p>But in express it has been completely removed. Now you need to explicitly use — req.query, req.body or req.param based on where data is coming from.</p><h4>5. app.del replaced with app.delete</h4><p>In express 4 — the <strong>HTTP DELETE</strong> route was registered using <strong>app.del</strong> but in express5 it has been replaced with more explicit word delete, so you need to now use <strong>app.delete</strong></p><h4>6. app.param(fn) middleware is removed</h4><p>In express4 app.param middleware was used to defined middleware that executes whenever the route param was found. This was used to preprocess some data, for example — if a route param has userId then find the user from database and attach to the request which would be needed later.</p><p>In express5 this has been removed and developers are encouraged to use more explicit approach that is use a middleware just before the route. This makes the things much clear and easy to debug.</p><h4>7. res.send(status) replaced with res.sendStatus(status)</h4><p>In express 4 you could send a response without data using res.send which confused developers like where is the data, is it a bug or something different.</p><p>In express5 an explicit method res.sendStatus is introduced for sending response with only status code and no data.</p><h4>8. res.send sends data only</h4><p>In express 4, you could send response with status code and data using -</p><pre>res.send(stauts, data);</pre><p>but in express5, the <strong>send</strong> method only accepts one parameter which is data and a method <strong>status</strong> has been added to send the status.</p><pre>res.status(status).send(data);</pre><h4>9. req.query is read only</h4><p>In express 4 , you could mutate the req.query — add aadditional property or remove.</p><pre>req.query.id =5 ;</pre><p>this creates confusion as source of data was not request but set somewhere explicitly in the code.</p><p>In express 5, req.query is read only which means no more changes on the req.query</p><h4>10. req.body is undefined by default</h4><p>In express 4, req.body value was empty object {}by default. So if you are in get request or you have not configured body parser the value of req.body will be empty object.</p><p>But in express5, it will be undefined. Which will explicitly states that there is no body data.</p><h3>Conclusion</h3><p>Express 5 majorly focuses on -</p><ul><li>Express 5 focuses on making things more clear and explicitly defined.</li><li>Remove confusing parts</li><li>Move external dependency to internal dependency</li><li>Internal optimization</li><li>Support for modern javascript</li></ul><p>👉 Thanks for reading everyone. Please let me know what do you think about express5 in the comments and follow me for more such articles.</p><p>Don’t forget to clap 👏 the article. One clap is thousand motivation for me.</p><blockquote>💁‍♂ Also if you like to watch tech videos, please subscribe to my youtube channel. Where i share lot of tech tips, news, experiment etc.</blockquote><blockquote><a href="https://www.youtube.com/@codewithujjwalgupta">https://www.youtube.com/@codewithujjwalgupta</a></blockquote><p>Connect with me at -</p><p>Twitter — <a href="https://twitter.com/ujjwal_kr_gupta">https://twitter.com/ujjwal_kr_gupta</a></p><p>Linkedin — <a href="https://www.linkedin.com/in/ujjwalkrgupta/">https://www.linkedin.com/in/ujjwalkrgupta/</a></p><p>Github — <a href="https://github.com/ujjwalguptaofficial">https://github.com/ujjwalguptaofficial</a></p><h3>In Plain English 🚀</h3><p><em>Thank you for being a part of the </em><a href="https://plainenglish.io/"><strong><em>In Plain English</em></strong></a><em> community! Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong>YouTube</strong></a> | <a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Discord</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a></li><li><a href="https://differ.blog/"><strong>Create a free AI-powered blog on Differ.</strong></a></li><li>More content at <a href="https://plainenglish.io/"><strong>PlainEnglish.io</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7de429cdb93" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/express-5-launched-finally-whats-new-f7de429cdb93">Express 5 launched finally, what’s new ?</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>