Ancestors

Toot

Written by Kerrick Long (code) on 2024-12-15 at 14:47

Having worked with #Angular in-depth for 2 years now, I can articulate what I don’t like about the #framework.

  1. #RxJS is a terrible primitive to build most #CRUD software upon. #Promises are better for most things, and event listeners are fine.

  1. Its #DI system encourages long-lived, easily-accessible Singletons that are serious “foot guns.”

  1. Data management is painful. Resolvers are a worse DX than either #EmberJS’s Ember Data or #React’s TanStack Query.

[#]JavaScript #JS #FrontEnd

=> More informations about this toot | More toots from kerrick@ruby.social

Descendants

Written by pwr on 2024-12-15 at 17:58

@kerrick That's a great point!

I'm currently learning Angular. What advice do you have for me?

=> More informations about this toot | More toots from real_pouria@mastodon.social

Written by Kerrick Long (code) on 2024-12-15 at 18:09

@real_pouria For 2, I’ll quote @russolsen from “Design Patterns in Ruby”:

There is only one solution to this problem: Don't do that. Properly applied, singletons are not global variables. Rather, they are meant to model things that occur exactly once. Yes, because it occurs only once, you can use a singleton as a unique communications conduit between bits of your program. But don't do that.

=> More informations about this toot | More toots from kerrick@ruby.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113657384975273518
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
362.007903 milliseconds
Gemini-to-HTML Time
1.005677 milliseconds

This content has been proxied by September (3851b).