#We are thinking of moving to Remix from plain React, What are the builder options?

1 messages · Page 1 of 1 (latest)

winter crater
#

We are currently deciding between transitioning to nextjs or remix in my company, because we want the SSR in our monorepo.. Remix looks great in all aspect to us except one part:
As far as I can see it basically only has Remix compiler which works only under the hood? Meaning you cant have webpack or similar customization? Can that remix compiler (esbuild) be extended for something custom? This is a problem for us because we have very complicated webpack builds for our stuff, and this is our main concer as a pitfall..

tl;dr: Are there any builder options and can the remix compiler (esbuild) be extended with custom options?

golden bay
#

I'm curious about how you'd answer the same question about Next.js... 🤔

#

That said, Remix is in the process of switching to Vite as the bundler/compiler. It's becoming far more extensible than it ever was before with esbuild.

#

This is possible in the latest version of Remix. It's considered unstable because the API might change, but there's nothing wrong with using it in production now (so long as you are willing to accept the very small risk that you'll have to refactor if the API changes)

winter crater
#

Well Nextjs is possible to use with custom webpack configuration, but hearing this about vite seems exactly what we are looking for. Thank you for your answer, I will keep an eye on it for "stable" release

golden bay
#

Should be soon, but I don't have any specific details about that.

teal patio
#

Yep, Vite is very nearly stable. Mostly validating on large codebases, cloudflare support, and minor bug fixes

idle python
#

almost there!