<?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: Kane Lim</title>
    <description>The latest articles on DEV Community by Kane Lim (@crdtcto).</description>
    <link>https://dev.to/crdtcto</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4097220%2F35f9b907-bfa3-4f90-bfb2-4070300345b6.png</url>
      <title>DEV Community: Kane Lim</title>
      <link>https://dev.to/crdtcto</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/crdtcto"/>
    <language>en</language>
    <item>
      <title>Next.js + Node.js: Where Do You Draw the Line?</title>
      <dc:creator>Kane Lim</dc:creator>
      <pubDate>Fri, 28 Aug 2026 14:52:37 +0000</pubDate>
      <link>https://dev.to/crdtcto/nextjs-nodejs-where-do-you-draw-the-line-1nic</link>
      <guid>https://dev.to/crdtcto/nextjs-nodejs-where-do-you-draw-the-line-1nic</guid>
      <description>&lt;p&gt;I've been building a few applications with Next.js and Node.js, and one thing I keep coming back to is:&lt;/p&gt;

&lt;p&gt;How much backend logic should actually live inside Next.js?&lt;/p&gt;

&lt;p&gt;At first, the answer seemed obvious.&lt;/p&gt;

&lt;p&gt;Next.js gives you Server Components, Route Handlers, Server Actions, middleware, caching, and a lot of other backend-like capabilities. For a small application, keeping everything inside one Next.js project is incredibly convenient.&lt;/p&gt;

&lt;p&gt;But as the application grows, the architecture becomes less obvious.&lt;/p&gt;

&lt;p&gt;For example, I've found myself asking:&lt;/p&gt;

&lt;p&gt;Should authentication logic stay inside Next.js or move to a separate Node.js service?&lt;br&gt;
When should a Route Handler become a standalone API?&lt;br&gt;
Are Server Actions a good choice for business-critical mutations?&lt;br&gt;
Where should background jobs and long-running tasks live?&lt;br&gt;
How do you handle WebSockets or real-time events cleanly?&lt;br&gt;
Should database access happen directly from Server Components?&lt;br&gt;
At what point does a separate Node.js backend actually become worthwhile?&lt;/p&gt;

&lt;p&gt;One approach I've used is essentially:&lt;/p&gt;

&lt;p&gt;Next.js&lt;br&gt;
 ├── UI&lt;br&gt;
 ├── Server Components&lt;br&gt;
 ├── Server Actions&lt;br&gt;
 └── Route Handlers&lt;br&gt;
        ↓&lt;br&gt;
     Database&lt;/p&gt;

&lt;p&gt;It's simple, fast to develop, and there are fewer moving parts.&lt;/p&gt;

&lt;p&gt;But I can also see the argument for:&lt;/p&gt;

&lt;p&gt;Next.js&lt;br&gt;
   ↓&lt;br&gt;
Node.js API&lt;br&gt;
   ↓&lt;br&gt;
Database / Redis / Queues&lt;/p&gt;

&lt;p&gt;The second architecture gives you more separation and flexibility, but it also introduces more infrastructure, deployment complexity, authentication concerns, and places where things can fail.&lt;/p&gt;

&lt;p&gt;That's where I'm currently trying to find the right balance.&lt;/p&gt;

&lt;p&gt;My current thinking&lt;/p&gt;

&lt;p&gt;I'm starting to believe the question shouldn't be:&lt;/p&gt;

&lt;p&gt;"Is Next.js capable of being the backend?"&lt;/p&gt;

&lt;p&gt;It obviously is for many applications.&lt;/p&gt;

&lt;p&gt;The better question might be:&lt;/p&gt;

&lt;p&gt;"What responsibilities will become painful if they remain inside the Next.js application?"&lt;/p&gt;

&lt;p&gt;For a small SaaS, I'd probably keep things together until there is a concrete reason to split them.&lt;/p&gt;

&lt;p&gt;For a system with heavy background processing, multiple clients, complex APIs, real-time communication, or independent scaling requirements, a dedicated Node.js service starts making much more sense.&lt;/p&gt;

&lt;p&gt;But I'm curious what other developers are seeing in production.&lt;/p&gt;

&lt;p&gt;Where do you draw the line between Next.js and a dedicated Node.js backend?&lt;/p&gt;

&lt;p&gt;And if you've migrated from a Next.js-only architecture to Next.js + Node.js, what problem actually forced you to make the change?&lt;/p&gt;

&lt;p&gt;I'd especially like to hear experiences from people running this setup at scale rather than just theoretical architecture opinions.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>backend</category>
      <category>nextjs</category>
      <category>node</category>
    </item>
    <item>
      <title>Mobile Development Is Changing Fast — Is React Native Ready for What’s Next?</title>
      <dc:creator>Kane Lim</dc:creator>
      <pubDate>Thu, 27 Aug 2026 11:19:54 +0000</pubDate>
      <link>https://dev.to/crdtcto/mobile-development-is-changing-fast-is-react-native-ready-for-whats-next-2007</link>
      <guid>https://dev.to/crdtcto/mobile-development-is-changing-fast-is-react-native-ready-for-whats-next-2007</guid>
      <description>&lt;p&gt;Mobile development isn’t just about building an app that “works” anymore. Users expect speed, smooth animations, reliable offline behavior, secure data, accessibility, and a consistent experience across devices all while development teams move faster than ever.&lt;/p&gt;

&lt;p&gt;That’s one reason I’m excited about React Native.&lt;/p&gt;

&lt;p&gt;React Native has evolved far beyond its early reputation as simply a way to share code between iOS and Android. With modern architecture, improved performance, better native integration, and a growing ecosystem, it’s becoming a serious choice for teams that want to move quickly without sacrificing the native experience.&lt;/p&gt;

&lt;p&gt;What I find especially interesting is the balance between cross-platform development and native capabilities.&lt;/p&gt;

&lt;p&gt;You can build most of an application with JavaScript/TypeScript and React Native while still going deeper into Swift, Kotlin, or native modules when the product actually needs it.&lt;/p&gt;

&lt;p&gt;But building great mobile apps with React Native isn’t just about knowing React.&lt;/p&gt;

&lt;p&gt;You need to understand:&lt;br&gt;
• App architecture and state management&lt;br&gt;
• Performance optimization and rendering&lt;br&gt;
• API and backend integration&lt;br&gt;
• Offline-first strategies&lt;br&gt;
• Push notifications and background tasks&lt;br&gt;
• Native modules and platform-specific behavior&lt;br&gt;
• Security and data protection&lt;br&gt;
• Automated testing and CI/CD&lt;br&gt;
• App Store and Play Store deployment&lt;br&gt;
• Monitoring, debugging, and production reliability&lt;/p&gt;

&lt;p&gt;The interesting challenge is deciding what should remain cross-platform and what should be native.&lt;/p&gt;

&lt;p&gt;That decision can have a huge impact on performance, maintainability, development speed, and the long-term health of a mobile codebase.&lt;/p&gt;

&lt;p&gt;I’d love to hear from developers who are actively building production apps with React Native:&lt;/p&gt;

&lt;p&gt;If you were starting a large-scale React Native app today, what architectural decision would you make differently than you did a few years ago — and why?&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>mobile</category>
      <category>reactnative</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
