Logo
    Search

    Podcast Summary

    • New features and updates in Next.js version 12Next.js version 12 brings automatic image optimization, improved server-side rendering, and the importance of using tools like Sanity and LogRocket for better development and user experience.

      In the latest episode of Syntax, Wes Bos and Scott Tolinski discussed the new features and updates in Next.js version 12. They were particularly excited about the hasty yet high-quality updates, including the improved performance and new features like automatic image optimization and improved server-side rendering. They also highlighted the importance of using tools like Sanity and LogRocket in web development. Sanity is a content platform that goes beyond just being a CMS, allowing for better editing experiences and integration with other services. LogRocket, on the other hand, helps developers identify and fix bugs by recording session replays and providing detailed information about network requests and error logs. Overall, the episode emphasized the importance of staying updated with the latest tools and technologies in web development and how they can significantly improve the development and user experience.

    • Next.js integrates SWC compiler for faster performanceNext.js version 12 introduces SWC compiler for JavaScript compilation, replacing Babel, resulting in faster build times and improved performance.

      LogRocket, a visibility-focused tool for tracking down bugs in web applications, has recently integrated the SWC compiler for faster performance and optimization in Next.js version 12. This new feature replaces Babel for compiling JavaScript and provides significant improvements in build times and fast refresh. Additionally, Next.js has made enhancements to Webpack for handling CSS and other non-JavaScript assets. Furthermore, the introduction of middleware in Next.js expands its flexibility and compatibility with other JavaScript frameworks. Overall, these updates demonstrate Next.js' commitment to delivering faster, more efficient development experiences for web applications. If you're interested in trying out LogRocket and experiencing these improvements firsthand, sign up for a free 14-day trial at logrocket.com/forward/syntax.

    • Next.js adds middleware support and React 18 compatibilityNext.js enhances server-side functionality with middleware and prepares for React 18's new features, including server side streaming and concurrent rendering, while also improving image loading performance with AVIF support.

      Next.js, a popular React framework, continues to evolve with new features, including middleware support for better server-side functionality and React 18 compatibility. Middleware allows for intercepting and modifying requests, enabling features like user authentication and redirection. React 18, though not yet stable, is starting to be integrated with Next.js, providing access to new APIs and features like server side streaming and concurrent rendering. Additionally, Next.js now supports AVIF image format, enhancing image loading performance. These improvements make Next.js an even more compelling choice for building dynamic, efficient web applications.

    • Next.js and Gatsby support AVIF images, but not all browsers do. They fallback to JPEG or PNG if AVIF is not supported.Next.js and Gatsby support AVIF images for smaller file sizes, but fallback to JPEG or PNG for unsupported browsers. They also introduced bot-aware ISR and native ES modules for improved performance and compatibility.

      Next.js and Gatsby now support AVIF images, a new format that offers smaller file sizes. However, not all browsers support AVIF yet, including Safari, Edge, and most mobile browsers. Developers don't need to worry about it, as these frameworks will fallback to JPEG or PNG if AVIF is not supported. Next.js also introduced bot-aware Incremental Static Regeneration (ISR), which allows pages to be generated on demand, preventing search engine bots from indexing loading screens. Lastly, Next.js now supports native ES modules, improving performance and compatibility. Overall, these updates represent progress in addressing common web development challenges, such as media format support and SEO.

    • ES modules in various environments: challenges and opportunitiesES modules bring improvements but also challenges, such as compatibility issues and bugs. Direct URL imports offer potential benefits but require careful consideration.

      The implementation of ES modules in various environments, including Node.js, brings both challenges and opportunities. While there will be issues and bugs that arise as more packages adopt ES modules, the overall goal is for a smoother transition as more people use it. One particularly frustrating issue is when common JS packages fail to load within ES module environments. Additionally, the ability to import modules directly from URLs, as part of the ESM spec, offers potential for faster development and reduced storage needs. However, the practical application and use cases for this functionality are still to be determined. The complexity of the ecosystem and the potential for compatibility issues require careful consideration and resources, such as a website or guide, to help developers navigate the process of implementing or transitioning to ES modules. Overall, while the road to full ES module adoption may be rocky, the benefits, including improved performance and reduced storage requirements, make it a worthwhile endeavor.

    • Next.js 12: Seamless Updates and Easy DependenciesNext.js 12 simplifies file sharing and offers painless updates, making it a preferred choice for developers. Version control convenience is also a highlight.

      Next.js 12 brings excitement with its easy import feature for dependencies, but for sharing files, copying and pasting into REPLs might be a better option. Updating Next.js applications is also a painless process, making it a popular choice among developers. Matt Perry from Framer Motion emphasized the convenience of version control in demos. Overall, Next.js 12 offers a seamless experience with minimal breaking changes during updates. If you're working on a project using Next.js, consider checking it out and updating to the latest version. Remember to subscribe to Syntax for more insights and discussions on various tech topics.

    Recent Episodes from Syntax - Tasty Web Development Treats

    790: State of JS 2023 Reactions

    790: State of JS 2023 Reactions

    Scott and Wes dive into the 2023 State of JavaScript survey, breaking down the latest trends and pain points in front-end frameworks, build tools, and JavaScript runtimes. Tune in for their hot takes and insights on what’s shaping the JavaScript landscape this year!

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    789: Do More With AI - LLMs With Big Token Counts

    789: Do More With AI - LLMs With Big Token Counts

    Join Scott and CJ as they dive into the fascinating world of AI, exploring topics from LLM token sizes and context windows to understanding input length. They discuss practical use cases and share insights on how web developers can leverage larger token counts to maximize the potential of AI and LLMs.

    Show Notes

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    CJ: X Instagram YouTube TwitchTV

    Randy: X Instagram YouTube Threads

    788: Supabase: Open Source Firebase for Fullstack JS Apps

    788: Supabase: Open Source Firebase for Fullstack JS Apps

    Scott and CJ chat with Paul Copplestone, CEO and co-founder of Supabase, about the journey of building an open source alternative to Firebase. Learn about the tech stack, the story behind their excellent documentation, and how Supabase balances business goals with open-source values.

    Show Notes

    • 00:00 Welcome to Syntax!
    • 00:30 Who is Paul Copplestone?
    • 01:17 Why ‘Supa’ and not ‘Super’?
    • 02:26 How did Supabase start?
    • 08:42 Simplicity in design.
    • 10:32 How do you take Supabase one step beyond the competition?
    • 12:35 How do you decide which libraries are officially supported vs community maintained?
      • 15:17 You don’t need a client library!
    • 16:48 Edge functions for server-side functionality.
    • 18:51 The genesis of pgvector.
    • 20:59 The product strategy.
    • 22:25 What’s the story behind Supabase’s awesome docs?
    • 25:26 The tech behind Supabase.
    • 35:46 How do you balance business goals with open source?
    • 42:01 What’s next for Supabase?
    • 44:15 Supabase’s GA + new features.
    • 48:24 Who runs the X account?
    • 50:39 Sick Picks + Shameless Plugs.

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    CJ: X Instagram YouTube TwitchTV

    Randy: X Instagram YouTube Threads

    787: You Should Try Vue.js

    787: You Should Try Vue.js

    Scott and CJ dive deep into the world of Vue.js, exploring what makes this frontend framework unique and why it stands out from React and Svelte. CJ gives a comprehensive tour, covering everything from getting started to advanced features like state management and Vue’s built-in styles.

    Show Notes

    Vue.js: The Documentary.

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    786: What Open Source license should you use?

    786: What Open Source license should you use?

    Scott and CJ dive into the world of open source, breaking down its meaning, benefits, and the various types of licenses you’ll encounter. From permissive licenses like MIT and Apache 2.0 to copy-left licenses such as GNU GPLv3, they’ll help you choose and apply the right license for your project.

    Show Notes

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    785: What’s Next for NextJS with Tim Neutkens

    785: What’s Next for NextJS with Tim Neutkens

    Scott and Wes dive into the world of Next.js with special guest Tim Neutkens from Vercel. They explore the latest updates, including the React Compiler and React Server Components, discussing their impact on developer workflows and the future of Next.js development.

    Show Notes

    • 00:00 Welcome to Syntax!
    • 00:30 What does the React Compiler do?
    • 05:04 Will React Compiler help with managing Context?
    • 06:39 What happens if you’re not using a React Compiler?
    • 09:30 Will this work on any NextJS version?
    • 12:18 What are React Server Components?
    • 16:28 Shipping all the data inside an encapsulated component.
    • 20:17 Clearing up the frustrations around retrofitting server components.
    • 23:13 Handing migration.
    • 28:30 Is this just a fetch request with props?
    • 36:41 How closely are the NextJS and React teams working?
    • 41:53 Will we ever get Async Client Components?
    • 43:52 Async Local Storage API.
    • 45:31 Turbopack.
    • 57:51 Sick Picks & Shameless Plugs.

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    784: Logging × Blogging × Testing × Freelancing

    784: Logging × Blogging × Testing × Freelancing

    In this Potluck episode, Scott and Wes tackle listener questions on modern blogging, website environmental impact, and using LangChain with LLMs. They also cover CSS hyphens, unit vs. integration testing, and balancing web development with new parenthood.

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    783: How We Built a Netflix Style “Save for Offline” Feature Into Syntax

    783: How We Built a Netflix Style “Save for Offline” Feature Into Syntax

    Scott and Wes dive into the world of browser caching for audio files, exploring the File System API and the Cache API. They discuss size restrictions across different browsers, how tools like Riverside.fm leverage IndexedDB, and walk through code examples for creating, retrieving, and managing cached audio data.

    Show Notes

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott:X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    782: The Developer’s Guide To Fonts with Stephen Nixon

    782: The Developer’s Guide To Fonts with Stephen Nixon

    Scott and CJ are joined by Stephen Nixon of ArrowType to delve into the world of fonts and type for developers. They explore the intricacies of font creation, the utility of variable fonts, and offer tips for making visually appealing typography on the web.

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott:X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    781: Potluck - The Value of TypeScript × Vue vs Svelte × Leetcode

    781: Potluck - The Value of TypeScript × Vue vs Svelte × Leetcode

    In this potluck episode of Syntax, Scott and CJ serve up a variety of community questions, from the nuances of beginner vs. advanced TypeScript to the pros and cons of SvelteKit. They also discuss falling out of love with React, shipping private packages via NPM, and the eternal struggle of always starting but never finishing projects.

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott:X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    Related Episodes

    Potluck - Protestware × NoSQL × Next.js × ESM × Jest

    Potluck - Protestware × NoSQL × Next.js × ESM × Jest

    In this potluck episode of Syntax, Wes and Scott answer your questions about protestware, NoSQL, Next.js, the Syntax.fm website, ESM, Jest, and more!

    Prismic - Sponsor

    Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.

    LogRocket - Sponsor

    LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

    Auth0 - Sponsor

    Auth0 is the easiest way for developers to add authentication and secure their applications. They provides features like user management, multi-factor authentication, and you can even enable users to login with device biometrics with something like their fingerprint. Not to mention, Auth0 has SDKs for your favorite frameworks like React, Next.js, and Node/Express. Make sure to sign up for a free account and give Auth0 a try with the link below. https://a0.to/syntax

    Show Notes

    • 00:10 Welcome
    • 01:30 What are the good reasons to use nextjs apart from personal preference?
    • 05:15 How did you decide to build Syntax.fm?
    • Uses.tech
    • 09:09 Why does my M1 Mac feel slower than my Intel Mac?
    • 14:44 Do you alphabetize your larger javascript objects by key name?
    • 17:14 Sponsor: Prismic
    • 19:06 Why did you choose noSQL database over SQL databse?
    • 25:13 What does it mean to support ESM?
    • 30:23 Sponsor: LogRocket
    • 31:35 Are open source maintainers doing harm by inserting protestware into packages?
    • Protestware found lurking in popular npm package
    • 40:30 Should I write the game logic on the backend or on the frontend?
    • 46:30 Sponsor: Auth0
    • 48:20 Sick Picks

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats

    718: React Server Components

    718: React Server Components

    Wes and Scott talk through server components, the difference between server components and client components, reasons to run something server side, how server components work, using forms and buttons, what they like and don’t like about it, and tips to learn more.

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Supper Club × Lee Robinson on React Suspense, Server Components

    Supper Club × Lee Robinson on React Suspense, Server Components

    In this supper club episode of Syntax, Wes and Scott talk with Lee Robinson from Vercel about React Suspense, server components, the edge, and more!

    Lightstep Incident Response - Sponsor

    Streamline on-call, collaboration, incident management, and automation with a free 30-day trial of Lightstep Incident Response, built on ServiceNow. Usage-based pricing on active services promotes collaboration across your entire team to build a culture of service ownership. Listeners of Syntax will also receive a free Lightstep Incident Response T-shirt after firing an alert or incident.

    Pay for the services you use, not the number of people on your team with Lightstep Incident Response, built on ServiceNow. Streamline on-call, collaboration, incident management, and automation with a free 30-day trial. Fire an alert or incident today and receive a free Lightstep Incident Response t-shirt.

    Gatsby - Sponsor

    Today’s episode was sponsored by Gatsby, the fastest frontend for the headless web. Gatsby is the framework of choice for content-rich sites backed by a headless CMS as its GraphQL data layer makes it straightforward to source website content from anywhere. Gatsby’s opinionated, React-based framework makes the hardest parts of building a performant website simpler. Visit gatsby.dev/syntax to get your first Gatsby site up in minutes and experience the speed. ⚡️

    Show Notes

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats

    226: Sarah's Acting Job, Mythbusting, & Mommy & Me Fashion

    226: Sarah's Acting Job, Mythbusting, & Mommy & Me Fashion
    Sarah busts out a food fun fact that blows our mind. We learn about a company that will rent a family to you if you've lost a loved one or are estranged from your family. Sarah talks about how an airline keeps a dead body closet in case somebody dies mid-flight. Susie shares the history of Mommy & Me fashion. We debate the Yanny/Laurel phenomenon. Plus, we interview Mythbusters star, Kari Byron about her career, being a woman in a male-dominated field, & being pregnant on TV. See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.