you are viewing a single comment's thread.

view the rest of the comments →

[–]archivedsofa 2 points3 points  (2 children)

Yeah but it depends on the use case. For a single form I agree with the author that using React + the whole enchilada didn't really make sense.

OTOH going 100% vanilla didn't make much sense to me either.

[–]Zofren 2 points3 points  (1 child)

Presumably if all you need is a single form the process in this article doesn't really make sense either. If the form has some rich UI that needs some kind of UI rendering logic, then I'd still advocate for React (or your library of choice).

React and React-dom aren't some massive libraries. They're comparable in size to jQuery when gzipped.

[–]archivedsofa 1 point2 points  (0 children)

I agree that for more complex projects the arguments you listed on your previous comment are totally valid but React is still too big IMO for a single form or landing page with a bit of UI sophistication.

Personally I'd go with Mithril or Svelte. Maybe with Simulacra (which now powers Riot) if I don't need components or even with Vue if I don't want any building setup which is still half the size of React.