Articles by Sergio Xalambrí
A web developer from Buenos Aires, Argentina. I work at Daffy as a Web Developer.
- Working with Refresh Tokens in RemixWhen using an external API, you may need to keep an access token to send a request as a user. And a refresh...
- E2E test Remix with Vitest and PuppeteerVitest is a testing framework, similar to Jest, but way faster, built on top of Vite, which uses esbuil...
- Optimize image loading with plain HTMLIf you're building some page like a landing with some images, you may want to optimize how these images l...
- Multiple forms per route in RemixSuppose you have a complex enough Remix application. In that case, you may have reached the point where a sing...
- Add returnTo behavior to Remix AuthIf you're using Remix Auth, you may want to add support to return the user to where it was before redirectin...
- Building a Command Palette with Remix and Tailwind UIRecently, the Tailwind Labs team published a new Combobox component on Headless UI and use...
- Share session and cookies between Next and RemixI have been migrating a Next.js app to Remix for a few months. I already wrote how to run them ...
- Fix double data request when prefetching in RemixSuppose you rendered a <Link prefetch="intent" /> component in your UI with the idea of pref...
- Run Tailwind and Remix in Parallel with PM2If you use Remix together Tailwind (and you should!), you may have found out that you need to run th...
- Use Remix with socket.ioIf you want to add real-time capabilities to your Remix app without using an external service, the easiest way is proba...
- Generate a PDF in Remix with Resource RoutesRemix has a feature called Resource Routes which let you create endpoints returning anything. Usin...
- Avoid waterfalls of queries in Remix loadersRemix does a fantastic job of avoiding waterfalls everywhere. It preloads assets. It downloads JS a...
- Run Next and Remix on the same serverIf you want to migrate a Next app to Remix, you may be tempted to do a complete migration. Still, if your ...
- HTTP vs. Server-side Cache in RemixWhen you build a web application, you may reach a point where some performance problems could be solved by a...
- Clase rápida de programación asíncronaEl código síncrono se ejecuta una linea a la vez, cierto? Entonces si haces esto: let result = fn(...
- On-Demand Hydration in RemixRemix makes it really easy to don't send JS to the browser. It even has a guide on how to let routes statically def...
- Loader vs Route Cache Headers in RemixDocument Request So, let's say you have a route at /my-super-route, and there you have a loader fun...
- The useMatches hook in RemixIf you use Remix, there's a hook that you can use called useMatches, this hook is a way to access some internal d...
- Validating Remix forms with Constraints APIThe Constraints API is a browser API that has been available since the times of IE10, yep, that old....
- Test Remix loaders and actionsIf you are using Remix, most of your application code will live in the loaders and actions instead of React compo...