<?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: Prashant A</title>
    <description>The latest articles on DEV Community by Prashant A (@prash2026).</description>
    <link>https://dev.to/prash2026</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%2F3850466%2F02f8f619-9409-40d8-8b7f-d46fd23088e9.png</url>
      <title>DEV Community: Prashant A</title>
      <link>https://dev.to/prash2026</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prash2026"/>
    <language>en</language>
    <item>
      <title>I Built a React SPA and Tried to Rank on Google. Here Are My Real Numbers After 12 Weeks.</title>
      <dc:creator>Prashant A</dc:creator>
      <pubDate>Fri, 08 May 2026 06:31:33 +0000</pubDate>
      <link>https://dev.to/prash2026/i-built-a-react-spa-and-tried-to-rank-on-google-here-are-my-real-numbers-after-12-weeks-2626</link>
      <guid>https://dev.to/prash2026/i-built-a-react-spa-and-tried-to-rank-on-google-here-are-my-real-numbers-after-12-weeks-2626</guid>
      <description>&lt;p&gt;If you've built a single-page app and wondered whether Google will ever find it, I have 12 weeks of real data for you.&lt;/p&gt;

&lt;p&gt;I launched a SaaS tool in February 2026. React + Vite + TypeScript frontend, Express backend, deployed on Render. No server-side rendering. No Next.js. Just a client-rendered SPA that I needed Google to crawl and index.&lt;/p&gt;

&lt;p&gt;This is what happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffalafg9pr3cngbz09620.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffalafg9pr3cngbz09620.png" alt=" " width="800" height="48"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;806 impressions. 1 click. Twelve weeks.&lt;/p&gt;

&lt;p&gt;That one click was probably me checking if my own site showed up.&lt;/p&gt;

&lt;p&gt;Average position moved from about 57 (page 6 of Google) to 47 (page 5). Not exactly a success story. But I learned a lot about what it takes to get a pure SPA indexed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The technical setup
&lt;/h2&gt;

&lt;p&gt;Google doesn't render JavaScript well enough to index a React SPA reliably. I hit this wall in week 2 when pages were getting crawled but showing up with blank content in Google's index.&lt;/p&gt;

&lt;p&gt;The fix was prerendering. At build time, a script visits each route with Puppeteer, waits for the page to finish rendering, and saves the output as static HTML. The deployment platform serves those HTML files to crawlers (matched by user-agent), and regular users get the normal SPA experience.&lt;/p&gt;

&lt;p&gt;The prerender config looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// prerender.mjs — runs at build time&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;routes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;route&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;outputPath&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;index.html&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;route&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/guides/landing-page-psychology&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;outputPath&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;guides/landing-page-psychology/index.html&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="c1"&gt;// ... 15 more routes&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each route gets its own &lt;code&gt;index.html&lt;/code&gt; in a subdirectory. The hosting config maps clean URLs to these files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# render.yaml rewrite rules&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;source&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/guides/landing-page-psychology&lt;/span&gt;
  &lt;span class="na"&gt;destination&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/guides/landing-page-psychology/index.html&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three files have to stay in sync: the sitemap, the prerender script, and the rewrite rules. Every time I add a page, all three need updating. I've shipped broken pages twice by forgetting one. There's no automation for it yet and it's the most annoying part of the setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Google actually did with my pages
&lt;/h2&gt;

&lt;p&gt;Once prerendering was working, pages started showing up in Google within a few days of being submitted through Search Console.&lt;/p&gt;

&lt;p&gt;The timeline looked like this:&lt;/p&gt;

&lt;p&gt;Weeks 1-2: zero to two impressions per day. Google barely knew the site existed.&lt;/p&gt;

&lt;p&gt;Weeks 3-4: jumped to 1-13 per day once the prerendered pages got indexed.&lt;/p&gt;

&lt;p&gt;Weeks 5-7: spiked to 18-40 per day. Content was getting picked up.&lt;/p&gt;

&lt;p&gt;Weeks 8-12: settled back to 0-16 per day.&lt;/p&gt;

&lt;p&gt;That spike in weeks 5-7 would look great in a screenshot if I cropped the chart. "40 impressions per day in 5 weeks!" But zoom out and the line is mostly flat. I think a lot of those growth posts do exactly this: screenshot the spike, skip the surrounding weeks.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs94hm4j3eu30gwjjxc6l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs94hm4j3eu30gwjjxc6l.png" alt=" " width="800" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The queries people searched
&lt;/h2&gt;

&lt;p&gt;Google was matching my pages to real search queries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"cro consultant" (conversion rate optimization): 289 impressions, 0 clicks (position 57)&lt;/li&gt;
&lt;li&gt;"landing page conversion rate": 76 impressions, 0 clicks (position 68)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Position 57 is page 6. Nobody looks at page 6. The impressions prove Google knows my pages exist and considers them relevant. The position proves the domain doesn't have enough trust yet to compete.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd do differently
&lt;/h2&gt;

&lt;p&gt;I would use a meta framework from the start. Prerendering works, but it's a workaround. Every new page needs manual config in three places. A framework like Astro, Next.js, or Remix would handle this automatically. I didn't use one because I started this as a tool, not a content site. By the time search ranking mattered, I had too much code to move over. If your SPA needs to rank on Google, build the rendering pipeline before you need it.&lt;/p&gt;

&lt;p&gt;I would submit to Search Console on day one. I waited three weeks before setting up Google Search Console. That's three weeks of Google not knowing the site existed. It's free and takes ten minutes.&lt;/p&gt;

&lt;p&gt;I would pick search terms nobody else is targeting. The small, obscure terms worked. 8 of my pages are in Google's top 10 for the specific terms I was aiming at:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Page&lt;/th&gt;
&lt;th&gt;Position&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Comparison page 1&lt;/td&gt;
&lt;td&gt;3.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Comparison page 2&lt;/td&gt;
&lt;td&gt;4.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Guide on persuasion&lt;/td&gt;
&lt;td&gt;5.8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Guide on urgency&lt;/td&gt;
&lt;td&gt;6.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audit study&lt;/td&gt;
&lt;td&gt;7.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interactive quiz&lt;/td&gt;
&lt;td&gt;7.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Above-the-fold guide&lt;/td&gt;
&lt;td&gt;8.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Psychology guide&lt;/td&gt;
&lt;td&gt;8.4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The catch: almost nobody searches for these terms. I picked them on purpose, as a test. If the writing can rank at all, I know the content is fine and the problem is domain age and backlinks, not content quality. That test passed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned about SPAs and search
&lt;/h2&gt;

&lt;p&gt;The React-versus-SEO debate is real, but it's not about whether Google &lt;em&gt;can&lt;/em&gt; render JavaScript. It's about whether you're willing to do the extra work to make sure it does.&lt;/p&gt;

&lt;p&gt;With prerendering, my SPA gets indexed and ranks just fine. Without it, the pages showed up in Google's index with blank content. It either works or it doesn't. There's no middle ground.&lt;/p&gt;

&lt;p&gt;If you're building a client-rendered SPA and want Google traffic, your options are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Prerender at build time (what I did). Works, but manual. Good if you have a small number of routes.&lt;/li&gt;
&lt;li&gt;Server-side render with Next.js, Remix, or Astro. Better long-term, more setup upfront.&lt;/li&gt;
&lt;li&gt;Hope Google renders your JS correctly. It sometimes does. I wouldn't bet on it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After 12 weeks, I have 806 impressions and 8 pages in the top 10. The SPA part isn't holding me back. The thing slowing me down now is domain age and backlinks.&lt;/p&gt;

&lt;p&gt;If you're building something similar and your Google numbers look like mine after a few months: that's normal. The prerendering works. The indexing works. The waiting is the hard part.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;About the tool:&lt;/strong&gt; I built &lt;a href="https://conversionprobe.com" rel="noopener noreferrer"&gt;ConversionProbe&lt;/a&gt; to audit landing pages the way a first-time visitor would see them. Paste a URL, get a report in 60 seconds. The SEO data in this post is from running it on my own site.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>seo</category>
      <category>startup</category>
      <category>beginners</category>
    </item>
    <item>
      <title>7 Persuasion Principles Your Landing Page Is Probably Missing</title>
      <dc:creator>Prashant A</dc:creator>
      <pubDate>Wed, 22 Apr 2026 05:14:14 +0000</pubDate>
      <link>https://dev.to/prash2026/7-persuasion-principles-your-landing-page-is-probably-missing-3ec0</link>
      <guid>https://dev.to/prash2026/7-persuasion-principles-your-landing-page-is-probably-missing-3ec0</guid>
      <description>&lt;p&gt;You built it and put up a landing page. The design looks good, the text is clear on what it does.&lt;/p&gt;

&lt;p&gt;But nobody signs up.&lt;/p&gt;

&lt;p&gt;So you rewrite the headline. You move the pricing section. You change the button color. Nothing changes. And you can't figure out why, because you've been staring at this page for weeks and you can't see it the way a stranger sees it anymore.&lt;/p&gt;

&lt;p&gt;Most of the time, the problem isn't your design or your writing. It's that your page is missing basic persuasion triggers that make people say yes. Robert Cialdini spent decades studying why people agree to things, and he found seven principles that show up again and again. Most landing pages use one or two of these by accident. Pages that convert well use five or six on purpose.&lt;/p&gt;

&lt;p&gt;If you're a developer, reading about "persuasion principles" might feel a bit gross. It sounds like manipulation. But these principles describe how people already make decisions. You're not tricking someone into wanting something they don't want. You're removing the reasons they leave when they do want it. A clear button label, a real testimonial, a free tier before asking for money. None of that is deception. The manipulative version is fake countdown timers and made-up user counts. This isn't that.&lt;/p&gt;

&lt;p&gt;Here are all seven, what they look like on a landing page, and how to check whether yours has them.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Reciprocity
&lt;/h2&gt;

&lt;p&gt;Give something before you ask for anything.&lt;/p&gt;

&lt;p&gt;When someone gets something useful for free, they feel a pull to give back. That's why free tools, free reports, and free trials work so well as the first step. The visitor gets value before they spend money, and they feel like they owe you something in return.&lt;/p&gt;

&lt;p&gt;On your landing page, this could be a free version of your product, a downloadable template, a sample report, or even a genuinely useful blog post linked from the page. The key is that the visitor gets real value with no strings attached.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your page:&lt;/strong&gt; Is there anything on this page that gives the visitor something useful before asking them to pay or sign up? If the first thing you ask for is money or an email address, reciprocity isn't working for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Commitment and consistency
&lt;/h2&gt;

&lt;p&gt;Start with a small ask, then build from there.&lt;/p&gt;

&lt;p&gt;People who take one small step are much more likely to take the next one. A quiz, a one-field email form, a free trial with no credit card. Once someone says yes to something small, they want to stay consistent with that choice.&lt;/p&gt;

&lt;p&gt;This is why "Start free, upgrade later" works better than "Buy now" for most SaaS products. The small commitment (signing up for free) makes the bigger commitment (paying) feel like a natural next step, not a leap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your page:&lt;/strong&gt; What's the first thing you ask the visitor to do? If it's a big commitment (pay, book a demo, fill out a long form), you're skipping the small step. Can you add a smaller ask that comes first?&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Social proof
&lt;/h2&gt;

&lt;p&gt;People follow what others have already chosen.&lt;/p&gt;

&lt;p&gt;When someone is unsure, they look at what other people did. This is why user counts, testimonials, and logos work. But the details matter. "Thousands of happy customers" is noise. "2,847 teams in 43 countries" is specific enough to be believable.&lt;/p&gt;

&lt;p&gt;The best social proof answers the question the visitor is already asking: "Have people like me used this, and did it work for them?" A testimonial from a Fortune 500 CTO won't convince a solo founder. A testimonial from another solo founder will.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your page:&lt;/strong&gt; Is there any social proof on this page? If yes, is it specific (real numbers, real names, real results)? And does it come from people who look like your target customer?&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Authority
&lt;/h2&gt;

&lt;p&gt;Show expertise. Don't just claim it.&lt;/p&gt;

&lt;p&gt;Visitors trust pages that prove they know what they're talking about. Press logos, certifications, named methodologies, data from your own research. These are all signals that say "we actually know this subject" without you having to write "we're experts."&lt;/p&gt;

&lt;p&gt;The difference between claiming authority and showing it: "We're the leading solution" is a claim. "Based on our analysis of 4,200 landing pages" is evidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your page:&lt;/strong&gt; Is there anything on this page that proves you know your subject? Logos, data, credentials, published research? Or does the page just ask the visitor to take your word for it?&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Liking
&lt;/h2&gt;

&lt;p&gt;People buy from people they relate to.&lt;/p&gt;

&lt;p&gt;Founder photos, conversational writing, showing that you understand the visitor's exact problem. All of this builds liking. People don't buy from faceless brands if they can buy from a person who gets their situation.&lt;/p&gt;

&lt;p&gt;For dev-founders, this often means writing the way you'd explain your product to a friend. Not marketing-speak. Not corporate. Just a person talking to another person about a problem they both understand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your page:&lt;/strong&gt; Does this page sound like a person wrote it, or like a company wrote it? Is there a founder story, a photo, anything that makes the visitor feel like they're dealing with a real human?&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Scarcity
&lt;/h2&gt;

&lt;p&gt;Limited availability makes people act faster.&lt;/p&gt;

&lt;p&gt;When something is scarce, people value it more. Limited-time pricing, limited spots, limited beta invites. These work because nobody wants to miss out on something good.&lt;/p&gt;

&lt;p&gt;But here's the catch: it has to be real. Fake countdown timers and "only 3 spots left" when there are no spots to begin with will destroy trust the moment someone catches on. And people catch on fast.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your page:&lt;/strong&gt; Is there any real scarcity on your offer? If you're running a genuine beta with limited capacity, say so. If you have a launch discount that actually expires, show the date. If there's no real scarcity, don't fake it.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Unity
&lt;/h2&gt;

&lt;p&gt;Shared identity creates belonging.&lt;/p&gt;

&lt;p&gt;"Built for SaaS founders" makes a SaaS founder think "this is for me." "For businesses of all sizes" makes nobody think anything. Unity is about signaling that you and the visitor belong to the same group.&lt;/p&gt;

&lt;p&gt;This shows up in language ("we" vs "they"), in the problems you describe (are they problems your specific audience actually has?), and in the examples you use (do they match the visitor's world?).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check your page:&lt;/strong&gt; Does this page make your target customer feel like it was built specifically for them? Or does it try to speak to everyone and end up speaking to no one?&lt;/p&gt;

&lt;h2&gt;
  
  
  Count yours
&lt;/h2&gt;

&lt;p&gt;Open your landing page in an incognito window right now. Go through all seven:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Reciprocity: do you give something before asking?&lt;/li&gt;
&lt;li&gt;Commitment: is the first ask small?&lt;/li&gt;
&lt;li&gt;Social proof: are there specific numbers or testimonials from people like your customer?&lt;/li&gt;
&lt;li&gt;Authority: do you show evidence, not just claims?&lt;/li&gt;
&lt;li&gt;Liking: does a real person come through in the writing?&lt;/li&gt;
&lt;li&gt;Scarcity: is there a real reason to act now?&lt;/li&gt;
&lt;li&gt;Unity: does your target customer feel like this page is for them?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Count how many are active. If you're at two or fewer, that's probably why your page isn't converting. You're relying on the visitor's motivation alone, and motivation by itself isn't enough.&lt;/p&gt;

&lt;p&gt;If you want to check this without doing it manually, &lt;a href="https://conversionprobe.com" rel="noopener noreferrer"&gt;Conversion Probe&lt;/a&gt; scores your page on these principles and shows you where the gaps are. Paste your URL, get a report in about a minute. Free, no signup.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick one and fix it
&lt;/h2&gt;

&lt;p&gt;You don't need to fix all seven today. Pick the one that's most obviously missing and add it. If you have zero social proof, add one real testimonial. If your first ask is "buy now," add a free tier. If your page reads like a press release, rewrite it like you're explaining the product to a friend.&lt;/p&gt;

&lt;p&gt;Fix one thing, see if the number move. Then change the next one. &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>marketing</category>
      <category>showdev</category>
      <category>startup</category>
    </item>
  </channel>
</rss>
