others2021-12-24
www.youtube.com

This is an intro to the Remix Run framework. We build a blog app with Prisma and Sqlite. Part 2: User Auth - https://youtu.be/wEoktJMSWLY Code: https://github.com/bradtraversy/remix-blog šŸ‘‡ Website & Courses: https://traversymedia.com šŸ’– Show Support Patreon: https://www.patreon.com/traversymedia PayPal: https://paypal.me/traversymedia šŸ‘‡ Follow Me On Social Media: Twitter: https://twitter.com/traversymedia Instagram: https://www.instagram.com/traversymedia Linkedin: https://www.linkedin.com/in/bradtraversy Remix Website: https://remix.run/ Timestamps: 0:00 - Intro 4:59 - Setup & File Structure 8:47 - Root Route Module & Document 12:58 - Create Layout 16:49 - Links Function / Stylesheets 18:35 - Meta Function 20:35 - File-Based Routing 21:45 - Nested Routes 26:00 - Loaders 30:32 - Actions 36:26 - ErrorBoundary Function 39:55 - Prisma & Sqlite Setup 44:49 - Database Seeder 48:44 - DB File 51:58 - Load Posts via Loader 54:50 - Submit Post via Action 56:49 - Load Single Post 1:00:05 - Delete Post via Action

Published on www.youtube.com

others / www.youtube.com2022-01-11

How to Debug Remix loaders and actions in VS Code

This video shows how to configure VS Code to debug your Remix loaders and actions. NOTE: You can now use the `debugger` statement instead of the external `debug()` function. I tried this before, but it didn't work. Not sure why it works now. You still can't set a breakpoint inside a route module, but you can add `debugger` statement and it will break there. You can then step through your code. I will be re-recording this video with this new info. Get the launch configuration here: https://rmx.fyi/debug

others / www.youtube.com2021-12-24

Remix Run - Introduction to HTTP Caching

HTTP Caching is a web fundamental every web developer should eventually learn. The quickest way to a slow website is to not understand caching and ofc, the best way to make your website fast is to take advantage of it. In this video we'll explain the basics of HTTP caching, how web browsers respond to it, and how CDNs take advantage of it, by building a bare-bones Node.js server and then quickly see how to specify caching headers in a Remix App.