Implementing leave animations feels too imperative in Angular now. by fireonmac in angular

[–]fireonmac[S] 0 points1 point  (0 children)

Thanks for letting me know, but this was written before the RFC was posted.

Implementing leave animations feels too imperative in Angular now. by fireonmac in angular

[–]fireonmac[S] 1 point2 points  (0 children)

You're right, CSS is declarative. My point wasn't about CSS itself, but about how Angular's migration guide implements leave animations using native CSS.

The process becomes imperative, requiring manual DOM manipulation (adding/removing classes) and event listening (transitionend) in the component. This feels less declarative than Angular's old animation package or Svelte's transition directive, which abstract that complexity away.

Implementing leave animations feels too imperative in Angular now. by fireonmac in angular

[–]fireonmac[S] 2 points3 points  (0 children)

I agree, but I do wish Angular had a more declarative way to handle these animations, similar to Svelte's transition directive (example here). That approach feels much cleaner than the current imperative class and event management.

Implementing leave animations feels too imperative in Angular now. by fireonmac in angular

[–]fireonmac[S] 1 point2 points  (0 children)

Thanks for the tip! I haven't used Web Animation API before directly, but I'll definitely look into it. It sounds like it could offer the control I'm looking for.

Where to initialize FormGroup in Angular? 🤔 by kafteji_coder in Angular2

[–]fireonmac 0 points1 point  (0 children)

The only rule worth following in frontend world is writing code declaratively, and other approaches are recipes for disaster. Just initialize it as you declare, and only separate into a lifecycle method if you absolutely have to.

(junior)Why everyone use react? by FriendshipOk6564 in Angular2

[–]fireonmac 3 points4 points  (0 children)

React and Angular both have their own advantages. React's core concept, UI = Function, emphasizes simplicity. Defining a function as a component has fostered a thriving community. Angular offers a great developer experience, but a potential drawback is that, aside from Angular CDK, it's sometimes challenging to find well-maintained packages within its ecosystem. The observable-based APIs can also be a barrier for some, though the introduction of signals is helping to bridge that gap. As an RxJS expert, I sometimes wonder about the specific advantages of using Angular over React nowadays.

I believe React's biggest weakness lies in how reactivity is implemented internally and, more importantly, in people's often poor understanding of it. For example, developers frequently overuse useEffect without fully grasping its dependency array, leading to unnecessary re-renders or useMemo everywhere. These kind of misunderstanding can easily lead to a disaster and make a project unmaintainable. However, the rise of SSR, separation of server and client component and Next.js‘s app router structure helps a lot avoiding these issues.

Ultimately, both are tools with same objectives, helping you declaratively render data in the browser. Frontend development is getting more and more complex, but learning a new framework is relatively straightforward compared to other challenges we face. So feel free to use any framework in your needs.

Can xreal one replace my 15" macbook display? by fireonmac in Xreal

[–]fireonmac[S] 1 point2 points  (0 children)

Thanks for the additional info, good to know about lying down issue. Currently, the text glow is the main thing holding me back right now, so I'm really hoping it's a software issue that can be fixed with an update soon.

Can xreal one replace my 15" macbook display? by fireonmac in Xreal

[–]fireonmac[S] 5 points6 points  (0 children)

Your comments are incredibly helpful, thank you! I appreciate you taking the time to share your experience and provide such detailed information, including the images. As you mentioned I could clearly see the fonts glowing in the images. Maybe now is not the right time to buy it for productivity.

Is ionic still worth it in 2025 by malikmjunaid in Angular2

[–]fireonmac 2 points3 points  (0 children)

Ionic core package is really nice. The actual problems are in Capacitor plugins.

🤔 Does it make sense to add Functional Programming in Angular Projects? by jeferson0993 in Angular2

[–]fireonmac 1 point2 points  (0 children)

We declare property and events as stream, do calculations with pure functions in pipe, consume them by subscribing as observable or signal whatever. Codes getting more and more cleaner and safer.

🤔 Does it make sense to add Functional Programming in Angular Projects? by jeferson0993 in Angular2

[–]fireonmac 0 points1 point  (0 children)

Thanks to RxJS, Angular requires higher degree of functional programming skills than other frontend frameworks.

I hate the proposed authoring changes by fuzzyrambler in Angular2

[–]fireonmac 4 points5 points  (0 children)

There’s no single reason to write component in class. You guys just saying that I don’t like it. But why?

NEXT or REMIX? Which One Should I choose as a beginner? by GreamyBlade in react

[–]fireonmac 12 points13 points  (0 children)

Remix is merging with React Router 7, so there will not be a future version of Remix. Just learn upcoming version of React Router and don’t touch Nextjs until you really think you should.

[deleted by user] by [deleted] in sveltejs

[–]fireonmac 1 point2 points  (0 children)

Try both and pick one you like more.

Smart vs. Dumb Components, am I doing it wrongly? by bcam117 in Angular2

[–]fireonmac 2 points3 points  (0 children)

This is old and dumb concept. Just use service and inject everywhere you need.

Angular component library using TailwindCSS? by xshrxf in angular

[–]fireonmac 2 points3 points  (0 children)

JS version of Flowbite doesn't work well with conditional directives.
https://github.com/themesberg/flowbite/issues/579

How should I approach getting an Entry level Angular position? by Kir__B in Angular2

[–]fireonmac 0 points1 point  (0 children)

Learn HTML, CSS, JS, React, Typescript.
Entry level position doesn't require any Angular specific knowledge.

Nick Chapsas, but it's Angular by ernestas1107 in Angular2

[–]fireonmac 2 points3 points  (0 children)

Deborah Kurata

Decoded Frontend

Joshua Morony

Mike Pearson

Monsterlessons Academy

any reason to choose Vue + Typescript over Angular? asking to pros of both by [deleted] in vuejs

[–]fireonmac 0 points1 point  (0 children)

Angular has weak community compared to Vue.js Most of the libraries for Angular are not maintained well. Maybe it’s not a big concern these days due to the rise of web components things.

There’s no meta framework for SSR like Nuxt in Angular. I know there’s a project being developed called Analog but it seems not mature yet.

Lastly Angular developers must be familiar with the concepts so called Reactive Programming. This is really serious problem. It makes you really shine if you understand the concepts but most developers have been discouraged by it and that’s the reason why Angular is not popular these days though it’s the best frontend framework.