Syntax - Tasty Web Development Treats

Potluck - API Fetching × PDF Creation × tRPC × Stripe vs PayPal

Aug 10, 2022
Dive into the world of API fetching, where the hosts discuss creating a 'middleman' for efficient data retrieval. Discover the latest in PDF generation while balancing tech discussions with light anecdotes. They tackle integrating Prismic with modern web development, explore TRPC as a type-safe alternative to GraphQL, and debate CSS optimization techniques. Learn about the transformation of logging tools into comprehensive analytics, and how lifelong learning defies age barriers in tech. Plus, insights into payment processing choices keep the conversation lively!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Caching API Data

  • Use a middleman proxy or caching for slow or rate-limited APIs.
  • Store data in memory, a database, or a file, fetching it once daily.
ADVICE

SvelteKit Training

  • Hold off on SvelteKit training until after the major API changes stabilize.
  • These changes, discussed on GitHub, significantly impact routing and load functions.
ADVICE

Server-Side PDF Generation

  • Generate PDFs server-side with Puppeteer or a serverless function for complex layouts.
  • Consider HTML to Canvas for client-side PDF generation or simply instructing users to print to PDF.
Get the Snipd Podcast app to discover more snips from this episode
Get the app