Konstantin Tarkus

πŸš€ React Starter Kit: Now 87% Faster with Astro Integration

Hey hunters! πŸ‘‹

Big update to React Starter Kit - we've solved one of the biggest pain points in modern web development: the performance tax of JavaScript-heavy marketing pages.


The Problem Every Startup Faces

You know the drill. You build a beautiful React app, everything works great, then your marketing team asks for a simple copy change and suddenly you're worried about breaking user authentication. Or worse, your perfectly crafted landing page takes 3 seconds to load because it's downloading your entire app bundle just to show some text and images.

Our Solution: The Best of Both Worlds


We've integrated Astro for marketing pages while keeping React for your actual application. It's like having a Ferrari for the racetrack and a Prius for your daily commute - the right tool for each job.


Real Results from Real Code

  • 87% smaller bundles (340KB β†’ 44KB) for landing pages

  • Perfect Lighthouse scores (100/100 across the board)

  • Instant page loads (static HTML at the edge)

  • Better SEO (Google loves fast, static pages)

  • Happy developers (update marketing without breaking the app)

What Makes This Special?


For Founders & Product Teams

  • Ship marketing updates without engineering bottlenecks

  • A/B test landing pages without touching application code

  • Scale globally with edge deployment (hello, international markets!)

  • Save on infrastructure costs (static hosting is cheap)

For Developers

  • Clean architecture with clear separation of concerns

  • Shared component library (consistency without duplication)

  • Type-safe across the entire stack

  • Modern DX with hot reload and instant feedback

For Growth Teams

  • Lightning-fast landing pages that convert

  • Perfect Core Web Vitals (SEO boost included)

  • Easy integration with analytics and tracking

  • CMS-ready for content management

The Stack That Powers It

Marketing Site (Astro):

  • Static site generation

  • React islands for interactive components

  • Edge-optimized delivery

  • Perfect for content-heavy pages

Application (React 19):

  • TanStack Router for type-safe routing

  • Jotai for state management

  • shadcn/ui components

  • Better Auth for authentication

Shared Infrastructure:

  • Bun runtime (faster than Node)

  • Cloudflare Workers deployment

  • PostgreSQL with Drizzle ORM

  • tRPC for type-safe APIs

See It In Action

# Clone and run in under 60 seconds
git clone https://github.com/kriasoft/reac...
cd react-starter-kit
bun install
bun dev

Visit localhost:5173 for the marketing site, localhost:5174 for the app. Both blazing fast, both production-ready.


Why We Built This


After building dozens of SaaS products, we kept hitting the same walls:

  • Marketing pages that were too slow

  • Apps that were too heavy

  • Codebases that mixed concerns

  • Teams stepping on each other's toes

This update fixes all of that. It's not just about performance (though 87% reduction is nice), it's about building sustainable, scalable products that teams can actually maintain.


What's Next?


We're not stopping here. Coming soon:

  • One-click Vercel/Netlify deployment templates

  • Stripe integration boilerplate

  • Email workflow templates

  • Admin dashboard components

Join Our Community

Over 22k developers are already building with React Starter Kit. We're not just maintaining a boilerplate - we're building the foundation for the next generation of web applications.

For Product Hunt Hunters

If you're building a SaaS, marketplace, or any web product that needs both marketing pages and a robust application, this is your starting point. We've done the architectural heavy lifting so you can focus on what makes your product unique.

Save weeks of setup time. Ship faster. Scale confidently.


P.S. - Yes, this entire Product Hunt page loads in under 100ms. That's the power of static generation. Your users (and your conversion rates) will thank you.

19 views

Add a comment

Replies

Best
Konstantin Tarkus

I went back and forth between Astro and Vite+Vike (for the self-hosted marketing site). Astro won for me because the team writing content isn’t me β€” Markdown/MDX + image handling + islands felt frictionless. Vite+Vike would’ve kept the whole repo on one toolchain and given me more control over routing/SSR/SWR, but I’d be rebuilding stuff Astro already nails.

TL;DR: content-first β†’ Astro; custom SSR/control β†’ Vike.