Hey friend, I gave a talk at React Rally βοΈ on React Framework Showdown and compared Next.js, Remix and Astro. I didn't hold back and gave some hot takes πΆοΈ. It can be nerve-wracking to give your opinions when you have so many folks in the audience actively working on the frameworks. The talk went really well. I'll let you know once the recording is out. But today's newsletter will focus on parts of the talk. -> I forgot to hit this newsletter's schedule button while travelling, so that's my bad. I'm here now, so I will make it up to you with more content than ever. πΏ Is Remix better than Next.js?Here's the thing: I have a lot of content on Next.js, a course coming up on Next.js βοΈ, workshops, and a YouTube channel filled with Next.js content. But I need to be fair and square if a particular framework is better, so let's compare the two in this post. Here's why, It unifies the client and server with web standards so you can think less about code and more about your product. As Remix focuses on web standards, it uses native methods (POST, PUT, DELETE, PATCH) to handle forms instead of JavaScript. This helps reduce the overhead of creating custom docs that are harder to maintain as web standards change. You can use Remix to create a standard CDN-hosted SPA or easily migrate that to SSR hosted on any server. What makes Next.js Special?Next.js provides automatic performance optimizations, server components, and server actions. Still, more importantly, it offers different data fetching methods, such as state site generation, server-side rendering, incremental static regeneration, and more. Since Next.js has been around for a long time, the ecosystem has grown quite a bit compared to Remix, which means there are more production apps on Next.js than on Remix. If you love React Router, then you'll love Remix.The majority of the work a framework does is to handle different routes. Now, after upgrading to React Router v7, you also use Remix. This is impressive since there are millions of downloads for React Router so this was a great strategic decision. Is Next.js better than Remix?Well, it depends π. If you are looking for granular caching controls with different data fetching mechanisms and are okay with deploying your apps with Vercel or self-hosting them with Docker, then Next.js is great. Plus, the ecosystem around Next.js is massive. Comparatively, if you are looking to align more closely to the web standards and are already using React Router, then Remix is a better choice as it's an instant upgrade. I will create a YouTube video on the same topic, so check that out. π€« Latest Frontend NewsTanner is working on a new framework known as the TanStack Start βοΈ. If you have used React Query, aka the TanStack query, before, this one gets better. Would you like to deploy your Next.js apps anywhere? Well, OpenNext is here for it βοΈ. OpenNext takes the Next.js build output and converts it into packages that can be deployed across various environments. βFrom Web to Native with React βοΈ explains how to seamlessly transition from web development to native apps using React and Expo. βDiving deep into Git βοΈ - its use cases and advanced techniques. You can generate personalized tabloids quickly and easily. βLearn more here βοΈβ. Supabase has announced a new app βοΈ which lets you spin up an unlimited number of Postgres databases directly in the browser and let AI build your schema, aka In-browser Postgres, with AI chat. βThis is an underrated feature in Next.js βοΈ Enable `experimental.typedRoutes` in Next Config. You can prevent typos and other errors when using β βWhatβs coming next in ESLint βοΈ, Writing lint rules has never been easier! Here are a few exciting updates,
Here are three important updates regarding upgrading Astro:
π Weekly Youtube VideosCheck it out and subscribe to my channel βοΈ for more Frontend, Leadership and Career Development content. What do you think of today's Newsletter? Simply click on one of the links below. |
Join 6000+ subscribers reading by weekly personalized Newsletter that helps developers level up their skills through weekly Frontend and Leadership Snacks. You get a deep dive into a Tech topic, Actionable tips to excel in your career and a toolbox!
Hey friend, AI has revolutionized how we should build products. Instead of being scared of it, I'd suggest trying out a bunch of tools and seeing what you like to make you more powerful, I mean productive :P. I mean, I built this Full Stack Splitwise app from scratch using just prompts and AI β no coding skills required! My Tech Stack - Next.js, ShadCN, Clerk, and all the bells and whistles. I'm blown away π€―. I also gave AI my design vision and it designed this beautiful app for me! If you...
Hey friend, I'm excited to announce the launch of my new AI SaaS project - SpeakEasy AI βοΈ. It allows you to convert your video into a blog post. You can upload any video you like, and it will turn into a beautiful, SEO-friendly blog post. If you have been holding off from shipping a SaaS app, now is your chance! Here is the entire course, π Important News To better focus on the upcoming Next.js Course launch π, Frontend Snacks (this newsletter) will transition into a monthly newsletter. It...
Hey friend, I have been heads down creating a free AI SaaS tutorial which is going to be massive on my channel. This will teach you how to ship a AI SaaS. I can't wait to share more. Based on popular demand, I'm running the Next.js Workshop βοΈ for the final time. I won't be running this workshop again. It is a Live 1-day Next.js Workshop that teaches you the best practices to design, build and deploy full-stack production-ready apps. β° When: September 3rd, 9am to 3pm ESTπ Where: Zoom π For a...