{"version":"1.0","type":"rich","provider_name":"Acast","provider_url":"https://acast.com","height":250,"width":700,"html":"<iframe src=\"https://embed.acast.com/$/655148df2861630012a1d01b/665cdad06dda780012214ddd?\" frameBorder=\"0\" width=\"700\" height=\"250\"></iframe>","title":"Chris Coyier, CEO CodePen: How We're Building CodePen 2.0, CSS-Tricks","thumbnail_width":200,"thumbnail_height":200,"thumbnail_url":"https://open-images.acast.com/shows/655148df2861630012a1d01b/1717361263084-e5166ba3b9922a08130a66da5d62023e.jpeg?height=200","description":"<p>Links</p><p><br></p><p>- Codecrafters (Sponsor): https://tej.as/codecrafters</p><p>- Codepen: https://codepen.io</p><p>- TailwindCSS Play CDN: https://tailwindcss.com/docs/installation/play-cdn</p><p>- Chris on X: https://x.com/chriscoyier</p><p>- Tejas on X: https://x.com/tejaskumar_</p><p><br></p><p>Summary</p><p><br></p><p>In this episode, Chris Coyier (CEO of CodePen) discusses his background and the projects he is involved in, including CSS-Tricks and CodePen. He talks about the workload and challenges of running these projects, particularly the complexities of managing advertising and the business models. Chris also shares insights into the tech stack used at CodePen, including Next.js and GraphQL. He highlights the benefits of GraphQL and the code generation tool, which helps ensure data consistency and type safety. Finally, he discusses the future plans for CodePen, including the adoption of server components. In this part of the conversation, Chris Coyier and Tejas Kumar discuss the Apollo code gen and type checking, the features of CodePen 2.0, the balance between simplicity and complexity, NPM install in CodePen, NPM support in CodePen 2.0, and the differences between ESM and CommonJS. In this conversation, Chris Coyier, the co-founder of CodePen, discusses various topics related to CodePen's architecture, development stack, and future plans. He talks about the use of CommonJS and GraphQL, the transpilation process in CodePen, the serverless architecture and Lambda functions, onboarding and familiarity with CodePen's codebase, staying up-to-date with industry trends, CodePen's design system, using Tailwind CSS in CodePen, the data layer in CodePen, and the potential acquisition of CodePen.</p><p><br></p><p>Takeaways</p><p><br></p><p>1. Running projects like CodePen/CSS-Tricks involves a significant workload, including managing advertising and the business models.</p><p>2. The tech stack at CodePen includes Next.js and GraphQL, which provide powerful tools for building and managing web applications.</p><p>3. Code generation with tools like Apollo helps ensure data consistency and type safety in GraphQL queries.</p><p>4. Onboarding and becoming familiar with CodePen's codebase is relatively straightforward.</p><p>5. Tailwind CSS can be used in CodePen by linking to a CDN-hosted URL.</p><p><br></p><p>Chapters</p><p><br></p><p>00:00:00 Chris Coyier</p><p>00:03:27 Introduction and Background</p><p>00:06:49 Running CSS-Tricks and CodePen</p><p>00:12:45 Workload and Challenges</p><p>00:25:37 Moving to Next.js</p><p>00:29:49 Server Components and Future Plans</p><p>00:32:27 Code Generation with Apollo</p><p>00:34:10 Apollo Code Gen and Type Checking</p><p>00:38:45 CodePen 2.0 Features</p><p>00:46:43 Simplicity vs Complexity</p><p>00:48:08 NPM Install and CodePen</p><p>00:54:50 NPM Support in CodePen 2.0</p><p>00:59:12 ESM vs CommonJS</p><p>01:01:54 Common JS and GraphQL</p><p>01:02:31 CodePen's Architecture and Transpilation</p><p>01:04:58 Serverless Architecture and Lambda Functions</p><p>01:08:14 Onboarding and Familiarity with CodePen's Codebase</p><p>01:08:42 Staying Up-to-Date with Industry Trends</p><p>01:12:46 CodePen's Design System</p><p>01:20:48 Using Tailwind CSS in CodePen</p><p>01:25:01 CodePen's Data Layer</p><p>01:29:03 AI Features and CodePen 2.0</p><p>01:31:26 Potential Acquisition of CodePen</p>","author_name":"Tejas Kumar"}