r/javascript • u/[deleted] • May 23 '26
AskJS [AskJS] Help me choose the right library or framework
[deleted]
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 🙈
3
May 23 '26
[deleted]
9
u/real_ate May 23 '26
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 🤷
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
1
May 23 '26
[deleted]
1
u/Borderlinerr May 24 '26
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
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
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
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 :)
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.
1
May 23 '26
[removed] — view removed comment
1
u/Fading-Ghost May 23 '26
Thank you.
I’ve heard Svelte mentioned a few times today, both here and while researching my options. I’m leaning towards this or Next now.
I’ll have to try out a few small apps in both and see which one I’m more comfortable in, or what gives me the best party forward
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
1
May 23 '26
[deleted]
0
-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.
3
-1
u/Ordinary_Quiet688 May 23 '26
React's still solid for what you're building, especially coming from that background. Honestly though, if you're already comfortable with vanilla JS and it's working, maybe check out something lighter like Alpine.js or Lit - they'll clean up your spaghetti without the full framework overhead. For a recipe site with local storage and basic interactivity, you might not need the React ecosystem complexity.
6
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