Logo
AboutBlogTodos
Login

Welp, This is now a Remix JIT

Welcome to a marvelous development.

I've wanted to do this for a while, but it always felt a bit too out of my reach. But I've taken the plunge. Now I'm going to work on polishing off the rough edges and really make it a legitimate remix build. Currently I can build on the server but I'm not fingerprinting correctly.

None of this would even begin to be possible without jacob Ebey's awesome work initially months ago. I took a large part of what he already made as a blueprint for success and now I'm working on updating it to work with new remix versions. There's a lot of information you need to know about and or learn about with Remix internals for the JIT to even be possible. That's because the JIT basically means you take control of the build step and serve out the correct files when the server inevitably asks for them.

There are some big struggles with things like importing css files as remix typically does is not currently supported. I've instead done a work around of putting my css in a public folder and importing all required CSS in the head of the root. It's a real bad limitation and honestly at this point I'm just server rendering react with no actual JS shipping... Which isn't the worst thing I guess.

There's definitely still a lot of work to do but this is really exciting to see my app deployed without a build step and using a somewhat custom build method.

Anyway, that's all for now! Stay up to date with my progress on the project if you're interested in a Remix JIT of your own down the line!