It's probably the simplest framework if you want SEO as compared to Next.js or Nuxt anything, atleast to me it feels like SEO could be helpful
And for interactivity you can have like React, Angular, Solid, Vue all at the same time, and if you change your mind you quite easily can ( although any component inside a react component cannot be like a Angular component, so keep that in mind)
I myself used cloudflare pages for hosting the landing page and documentation for my library and it worked well
yeah i'll second Astro here. tbh if you haven't touched frontend stuff in five years, the ecosystem is going to feel pretty wild, but Astro makes it pretty painless. since you're already on Cloudflare Pages, the deployment is basically effortless.
fwiw i built a similar content heavy site last year and dropped React for it. Astro ships zero JS by default so your recipe pages will be incredibly fast. you can just plug in tiny interactive islands where you actually need them, like your meal calendar or search.
Svelte is also a really solid option to look into if you want something that feels closer to writing vanilla JS. it skips all the weird mental gymnastics of React state and keeps things simple.
since you mentioned Python, you might honestly like HTMX if you ever add a backend. but for keeping it static on Cloudflare Pages, i definitely agree with looking into Astro.
i moved a messy vanilla JS project to Astro last year and it felt super natural. you don't have to rewrite everything at once. you can just keep your standard HTML and JS for the simple recipe pages.
fwiw, you can drop in a React component strictly for the interactive stuff like the meal calendar. it keeps you from fighting state management on pages that are just text.
There are many reasons but the big one for me is the fact that they are not engaging with the TC39 effort to make signals a language feature. Every other major framework (including Preact!) is engaging with the standards effort and will eventually be a much smaller framework built on a standard JS feature.
React is not engaging and has stated that they will never rearchitect to use signals. That seems like a dead end to me 🤷
You won't regret it. It has SolidStart akin to NextJs for React, and also there's solid-primitives which give you lots of cool utilities to actually make it feel like an app
Alpine.js - you need reliably reactivity with low overhead and easy state management? Just use it. The best part is no build step and no outdated libs, which Angular is particular terrible for.
Otherwise maybe SolidJS if you can stomach JSX - it's basically React "done right" without a decade of patches and bandaids and direction switches
Aside from search results, this sounds like static content that mostly doesn't even need JS. So I'd be looking at static site generators. Plenty to choose from there, but I think 11ty with recipes on Firebase might be sufficient. But it depends on how frequently recipes will be added and if there's any review/approval.
Curious, have you thought about refactoring the spaghetti code you have and seeing if that is good enough? May keep things more lightweight over adding a framework & its dev tool complexity.
Likely React if you plan to scale it somewhat or even Vue if it is going to stay simple, although more details would be great to see exactly which one it should be. Angular is generally more enterprise based and better for stability or the core of a large app.
7
u/Aditya00128 May 23 '26
Astro.js
It's probably the simplest framework if you want SEO as compared to Next.js or Nuxt anything, atleast to me it feels like SEO could be helpful
And for interactivity you can have like React, Angular, Solid, Vue all at the same time, and if you change your mind you quite easily can ( although any component inside a react component cannot be like a Angular component, so keep that in mind)
I myself used cloudflare pages for hosting the landing page and documentation for my library and it worked well
6
u/real_ate May 23 '26
Friends don't let friends start a new project in React. I'm an Ember.js guy but I'm not going to suggest Ember, just pick ANYTHING but react 🙈
2
u/Significant-Lack7045 May 24 '26
For a recipe site SvelteKit or Astro would be way lighter than React, both pair great with Cloudflare Pages too
2
u/Borderlinerr May 23 '26
Forget about what others say. Use SolidJs, thank me later
2
u/hyrumwhite May 23 '26
SolidJS if you like JSX and react style. Vue or Svelte if you like SFCs.
Vue has a pretty good ecosystem.
I wouldn’t start a new react app now that the above options exist.
1
u/HEaRiX May 23 '26
Whatever you want, doesn't make any real difference.
1
u/horizon_games May 24 '26
Alpine.js - you need reliably reactivity with low overhead and easy state management? Just use it. The best part is no build step and no outdated libs, which Angular is particular terrible for.
Otherwise maybe SolidJS if you can stomach JSX - it's basically React "done right" without a decade of patches and bandaids and direction switches
1
u/LeftAd1220 May 24 '26
Vue because it's faster
1
u/shgysk8zer0 May 25 '26
Aside from search results, this sounds like static content that mostly doesn't even need JS. So I'd be looking at static site generators. Plenty to choose from there, but I think 11ty with recipes on Firebase might be sufficient. But it depends on how frequently recipes will be added and if there's any review/approval.
1
u/jdeath May 25 '26
i do Vite React with my own router & SSG, called it Routerino. I'm biased but there's nothing better :)
https://github.com/nerds-with-keyboards/routerino
1
u/agmcleod @agmcleod May 26 '26
Curious, have you thought about refactoring the spaghetti code you have and seeing if that is good enough? May keep things more lightweight over adding a framework & its dev tool complexity.
0
u/KaiAusBerlin May 23 '26
If it's written in pure js than svelte (or sveltekit with backend included) should give you a great devX
-2
u/qwertydiy May 23 '26
Likely React if you plan to scale it somewhat or even Vue if it is going to stay simple, although more details would be great to see exactly which one it should be. Angular is generally more enterprise based and better for stability or the core of a large app.
1
u/[deleted] May 23 '26
[removed] — view removed comment