HTTP vs. Server-side Cache in Remix by sergiodxa
When you build a web application, you may reach a point where some performance problems could be solved by a...
When you build a web application, you may reach a point where some performance problems could be solved by a...
If you are using Remix, most of your application code will live in the loaders and actions instead of React compo...
Vitest is a testing framework, similar to Jest, but way faster, built on top of Vite, which uses esbuil...
If you want to add real-time capabilities to your Remix app without using an external service, the easiest way is proba...
The blog of sergiodxa
Rolling sessions is a technique to extend the maxAge of a session cookie by resetting the cookie's expiration date...
If you're using multiple forms on the same route, you may use the useFetcher hook, which also...
If you use Remix, there's a hook that you can use called useMatches, this hook is a way to access some internal d...
The blog of sergiodxa
Document Request So, let's say you have a route at /my-super-route, and there you have a loader fun...
The Constraints API is a browser API that has been available since the times of IE10, yep, that old....
Remix does a fantastic job of avoiding waterfalls everywhere. It preloads assets. It downloads JS a...
Using Server-Sent Events (SSE) you can keep a connection between a browser (client) and an HTTP server open an...
Dependency Injection is a way our function or class can receieve from the caller the instancie...
The blog of sergiodxa
Markdoc is this new Markdown parser by Stripe, and it's a simple to use yet extendable library we can use i...
React introduced a one-way data flow where a parent component has some data (state) and passes it to the children...
When you code a loader/action (we'll call them data functions from now) in Remix, you can either retur...
Let's say you have a form with a few inputs. You want to persist the inputs' values after submitting...
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...
If you want to add real-time capabilities to your Remix app without using an external service, the easiest way is proba...
When you build a web application, you may reach a point where some performance problems could be solved by a...
If you are using Remix, most of your application code will live in the loaders and actions instead of React compo...
Vitest is a testing framework, similar to Jest, but way faster, built on top of Vite, which uses esbuil...
The blog of sergiodxa
Rolling sessions is a technique to extend the maxAge of a session cookie by resetting the cookie's expiration date...
If you're using multiple forms on the same route, you may use the useFetcher hook, which also...