Web frontend frameworks ReScript can work with in 2024?

I’ve been out of the web frontend loop for a while. Is Next.js still the only viable option for ReScript? No-fuss HTML from a server is what I’m after. Not married to React, though.

1 Like

If you don’t care about having an actual fleshed out client framework like React, just want to produce HTML with a little bit of interactivity, but still want to use JSX and the component approach, I built ResX a while ago: https://github.com/zth/res-x

It’s working quite well and it’s in production successfully in a couple of places. Refreshing to more or less just produce HTML, but still get to use the component approach and JSX.

3 Likes

I’m really unhappy with nextjs (with TypeScript) and it’s not straight forward to use it in ReScript.
Unfortunately I have to use it at work in more or less every project.

So I started to build a small framework, which should proof, that web frameworks doesn’t have to be as complex as next, remix, etc.

It just renders html and serves minimal js and css files per page.

Don’t expect too much, it’s just a proof of concept. Maybe I will try to build this hyped https://www.mcmaster.com page with it.

4 Likes

TanStack Start looks promising