13
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
top 9 comments
sorted by: hot top controversial new old
[-] [email protected] 3 points 1 month ago

Do you have a link without paywall?

[-] [email protected] 2 points 1 month ago

It's a paywalled article. So now I sadly will never know which frontend to choose.

[-] [email protected] 1 points 1 month ago

Here’s the link that allows you to read for free (a.k.a Medium’s Friend Link)… https://medium.com/@patalcala/finding-the-right-javascript-frontend-framework-for-you-c6a633e1bd1a?sk=603bf61462db81b61edeb5978ebd0c08

I also updated the link of the post

[-] [email protected] 2 points 1 month ago

This is a very surface level overview of the frameworks it covers. The title is a bit of a reach, as it wouldn’t give anyone enough information to make a more educated decision about which framework to use.

Are you the author? I think it could be improved by including:

  • metrics - number of apps that use each, number of job offerings, github stars
  • who backs each project, and how much can we trust them to continue developing it in a way that’s friendly to developers
  • for React specifically, a bit more info on the prominent frameworks - Next.js, Vite, Gatsby, CRA/CRACO, or ejected CRA - since the difference between them is substantial
  • a high level description of the use case that the framework is designed for, as well as use cases where it isn’t well suited or has drawbacks.
  • how does the development experience differ? Is there a lengthy build step? Does it offer hot reloading? Does it come with a built-in linter or integrate easily with one?
  • Does it have a bundled testing framework, and how does that compare to other offerings? For example, CRA comes with jest and it can be a pain to configure jest to properly handle all of your dependencies - it doesn’t use the same build pipeline as your app and will fail if you’re using newer dependencies that use import statements instead of module.exports and you don’t individually configure each one. Vitest, by contrast, uses the same build pipeline as Vite.
  • Ease of writing unit tests, component tests, and e2e tests (even if that means pulling in another library)
  • ease of use with or without typescript
  • some more substantial example apps per framework, like a to-do list that uses a simple API (preferably the same API in all cases). Currently the examples don’t even show what the code looks like with basic styling

If you are the author, I saw your article on Typescript and would also like to say that you can configure your linter to not warn about using any. There’s even a no-implicit-any rule that you can use if you only want explicit any types but don’t want, for example, responses from API calls to have that type by default.

[-] [email protected] 3 points 1 month ago

I think you put more work into this comment than the author in his article

[-] [email protected] 1 points 1 month ago
this post was submitted on 26 Apr 2024
13 points (100.0% liked)

Programming

13239 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS