Live data from Hacker News

Ask HN: Help me pick a front-end framework

news.ycombinator.com

1–10 of 181 posts

Ask HN: Help me pick a front-end framework

#1
Hopefully this can be a fruitful discussion since I think I have a quite clear but also reasonably common set of needs. I have a feeling that if you're "in the world" of frontend engineering you get a much more intuitive feeling for these tooling questions than I can get at a distance by reading SEO-spam developer blogs and State Of JS (although the latter does seem really helpful).

I'm thinking of building a text-annotation based app _alone in my spare time_. The core usage loop is about viewing and interacting with "visual markup" applied to a body of text. So lots of tooltips/hoverbars I guess.

Some notes about my needs:

- This would be by far the most complex GUI I've ever built.

- Relatedly, I expect to get the UX design horribly horribly wrong and start from scratch at least once.

- I also suck at making things look pretty and also don't find this problem very rewardinging to think or read about.

- All of the above point towards a framework that is pretty easy to get started in and prototype quickly.

- Because of limited time, and low confidence in UX design decisions, I would often follow the path of least resistance and the end product would be heavily influenced by the tools I used to build it.

----

- Despite what I said about quick rampup I'm fine with learning new languages.

- Weak typing is a deal-breaker. If using JS, must have good TypeScript integration or similar. (Does anyone still write plain JS?)

------

- I don't think I'll want a native desktop app but an iOS/Android version could make sense. But I'll never have time if this can't share most of the code with the web version.

-------

- I don't really have the discipline for manual testing. Luckily I also find it satisfying to over-invest in test automation. I don't really know how this is done in frontend land but good tooling would be a big plus.

-----

- I'm happy to sacrifice one or more of the other requirements in favour of tools that are likely to be maintained 10 years from now.

----

What are HNs thoughts?

Re: Ask HN: Help me pick a front-end framework

#4
> text annotation app

You could find plain JS to be sufficient for this. I'm guess you're highlighting the text a popup will come up and you submit to a server?

If you really want to use a framework, Svelte could be a good choice. If you want to stay with safer choices then React with Mobx, or something else that uses subscriptions to bypass React's default rendering. The other thing you could do is test out each one and figure out what you like the best, because some of it is subjective.

Re: Ask HN: Help me pick a front-end framework

#10
I’ll recommend two paths…

Working alone, there is no easier setup than Laravel and (probably for you) Vue + Inertia. Vue is a major player with lots of available packages and it’s pretty simple to get setup with Laravel for a database and backend. If you need help getting started, Laracasts is unmatched in terms of tutorial quality.

The other path is to use React. If you think you want a job in front end development, spending time in react will broaden your eligible job set by a significant margin. I personally don’t like react, but it’s going to dominate front-end for the next five years at least.

Best of luck!

Post reply on HN