markdalgleish/remix3-resources
A collection of useful links relating to Remix 3
Learn about Remix: the newest fullstack ReactJS framework from the creators of React Router! In this crash course we'll be build a new application from scratch and you'll get to learn all of the remix fundamentals including routing, loaders, actions, validation, navigation, mutations, and several other concepts! We'll also use tailwind css for styles, and explore a couple other tips and tricks. Code: https://github.com/mariusespejo/remix-ghibli Docs: https://remix.run/ 00:00:00 - Intro 00:00:19 - What we'll build (preview) 00:01:28 - Project setup 00:02:41 - Setup tailwindcss 00:05:34 - The meta function 00:07:17 - The links function 00:09:26 - Routing fundamentals 00:13:42 - Layout routes 00:16:20 - Dot delimiter (flat files) 00:17:33 - Dynamic paths 00:20:02 - Entry files 00:20:25 - Building the Films home page 00:23:39 - The loader function 00:34:18 - HTML Form GET 00:39:01 - Parsing URL search params 00:42:44 - Navigating between routes 00:46:06 - Parsing route params 00:48:54 - Prefetching 01:08:52 - Navlink 01:13:23 - Error Boundaries 01:16:30 - Catch Boundaries 01:30:06 - HTML Form POST (Mutations) 01:31:42 - The action function 01:36:05 - Pending states with useTransition 01:38:32 - Form Validation 01:44:18 - Route Module API summary 01:44:44 - Outro
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
Have you heard about our new Remix Stacks template the K-pop Stack? It combines Remix, Supabase, Tailwind, and more to give you a note creation app with auth to help jump start your own Remix creation. Check out how to make it your own and get it deployed to fast and free! Repo: https://github.com/netlify-templates/kpop-stack Blog Post: https://www.netlify.com/blog/deploy-your-remix-supabase-app-today!/
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.
In Today's episode will cover: - @Stripe Integration - Webhook Setup - Checkout Session and Payment Testing These videos are free and created for the community, support will be much appreciated! š«¶
Learn more at https://remix.run
Check out the new v2_dev docs š https://remix.run/docs/en/main/other-api/dev-v2 Indie stack š https://github.com/remix-run/indie-stack