How to create one form with many actions in Remix
Here is an easy method for building forms with multiple outcomes using a not well known html feature.
Here is an easy method for building forms with multiple outcomes using a not well known html feature.
Learn to prevent scroll reset on navigation and how to take control over how it restores on back/forward. Learn more at https://remix.run
Remix always does SSR on document requests. Then it works as an MPA until JS loads and React hydrates your app. At that ...
Ryan shows us how to get granular with our errors and prevent slow, risky data loads from taking down the entire page if it has an error. Learn more at https://remix.run
Ryan takes us for a first look at Remix Streaming from the v1.11.0 release Learn more at https://remix.run
Remix Loaders are a great way to fetch data server-side before rendering the page. As of v1.10.0, you can use the useRevalidator hook to call these loaders whenever you want. In this video, Jon Meyers demonstrates how this can be paired with Supabase Auth and the onAuthStateChange hook to keep the UI in sync with the user's signed in state. GitHub repo: https://github.com/dijonmusters/remix-revalidation-on-demand To learn more about building an app with Remix and Supabase, check out this entirely free egghead course: https://egghead.io/courses/build-a-realtime-chat-app-with-remix-and-supabase-d36e2618?af=9qsk0a In this course we build a realtime chat application and learn about: šŖ managing sessions with cookies using the Supabase Auth Helpers š¢ fetching data server-side š§āāļø generating TypeScript definitions with the Supabase CLI ā±ļø merging realtime updates with loader data 00:00 Introduction 01:10 Creating Remix app 02:07 Adding a loader function 03:00 Empty action hack 05:33 Calling active loaders with useRevalidator 06:23 Creating a Supabase project 08:25 Instantiating a Supabase client 10:55 Implementing Supabase Auth 13:37 Revalidating data onAuthStateChange 15:10 Summary Other helpful resources š Blog article: https://jonmeyers.io/blog/call-remix-loaders-on-demand-with-userevalidate š Get more from Jon š Twitter: https://twitter.com/jonmeyers_io Blog: https://jonmeyers.io/blog
Supabase is a collection of open-source tools that wrap around a PostgreSQL database. In this course, we look at building a realtime chat application with Remix, using Supabase for db hosting, authentication, authorization and subscribe to realtime db events - updating the UI as the database changes. We will learn about: loaders and actions in Remix querying and mutating data with Supabase authentication with GitHub authorization with RLS merging client and server state with realtime events deploying a Remix app to Vercel This course is 100% TypeScript, however, don't stress if you don't have any experience with TS, as Supabase does most of the heavy lifting here! š
Users can enable a setting in their devices to indicate to websites that they prefer redu...
Remix is an amazing React framework that vastly simplifies the process of building fullstack React web apps. With this crash course, you'll learn how Remix allows you to seamlessly blend frontend and backend code into each other. Besides crucial essentials like project setup, routing and styling you'll also learn how to fetch and submit data, and how to integrate backend code into your React application. š If you want to learn more about this awesome React framework, you can explore my full course "Remix - The Practical Guide": https://acad.link/remix (a huge discount will be applied automatically). š Learn more about React.js itself with my bestselling "React - The Complete Guide" course: https://acad.link/reactjs Code attachments: https://github.com/academind/remix-practical-guide-course-resources/tree/main/Code/02%20Essentials Join our Academind Community on Discord: https://academind.com/community Check out all our other courses: https://academind.com/courses ---------- ⢠Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts ⢠Follow @maxedapps and @academind_real on Twitter ⢠Follow @academind_real on Instagram: https://www.instagram.com/academind_real ⢠Join our Facebook community on https://www.facebook.com/academindchannel/ See you in the videos! ---------- Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
When it comes to building successful websites, it's important to gain insights and data about your website visitors in order to enhance their experience. In this guide, we will go over the steps of integrating Fathom Analytics into a Remix application....
Example of a monorepo including a Remix and Payload application communicating through the Local API, served by the same Express server.
Vercel offers simple, privacy-focused analytics and web vitals data. These can be instantly set up on Next.js and other frameworks. It's a little extra work for your Remix app, but worth it.
Rolling sessions is a technique to extend the maxAge of a session cookie by resetting the cookie's expiration date...
Using Server-Sent Events (SSE) you can keep a connection between a browser (client) and an HTTP server open an...
A pattern that will fix concerns with fragile implementation of useMatches when using parent data in Remix.
What is edge computing? And how can it help us create lightning-fast e-commerce experiences from anywhere in the world?
Apps that depend on Webpack loaders and plugins weren't able to incrementally migrate to Remix. Until now!
As apps grow, almost all will need user authentication. Fortunately, Remix gives us tools to make this easy. In this post, we'll look at how we can add authentication to an app using Remix.
Learn how to deploy a Remix app with GitLab and Cloudflare Workers.
In this article we explain how we use Sanity and Remix to dynamically create sitemaps. The example used is from Heavybit, a developer tools VC in San Francisco.
If you're using multiple forms on the same route, you may use the useFetcher hook, which also...
Authentication helpers for loaders and actions in Remix.
In this post we are going to use TypeScript to: strongly type our process.env variables expose some...
Learn how to build feature-rich & highly reactive fullstack React applications with Remix.
Use process.env client-side with Remix The process.env thing is a Node.js-only feature that many front-end developers adopted as something t...
Vercel offers simple, privacy-focused analytics and web vitals data. These can be instantly set up on Next.js and other frameworks. It's a little extra work for your Remix app, but worth it.