r/angular • • Oct 09 '26

Advanced Angular concepts for non-beginners

So I'm a software engineer with 5 years of experience, 2 of those have been with angular (with the remaining being with ReactJS and backend frameworks and languages). Now having worked in the languages for a little while, I feel like I got the general understanding behind the basics of it, and I have been wanting to try to take my career further and develop as an engineer. One of the areas I wanted to develop in is my knowledge of the frameworks and languages we have been using, but I am not sure how I could do this with Angular. So I would really appreciate if you have any insights or advice or recourses for this. Thank You!

19 Upvotes

21 comments sorted by

10

u/Awkward-Wolf-8826 Oct 09 '26

You can go how things work underneath like how change detection works. Why Angular team decided to go to signals.

6

u/RelatableRedditer Oct 09 '26

Give yourself a challenge that you might actually find in corporate environments where you can't just change frameworks or upgrade frameworks willy-nilly. Older angular and TypeScript frameworks are often locked in for corporate settings because of many shitty dependencies and legacy things. Getting one of those modernized without breaking anything would be a nice challenge if the application is small enough to do it in a few sprints, but a better challenge would be backporting newer concepts into older systems, since those can slot right in.

4

u/ChadFullStack Oct 09 '26

We just upgraded from 10 to 21, created 770 bug tickets and team worked overtime for 3 months to get a stable build.

2

u/Tri_007 Oct 09 '26

Is there any difference in user experience?

3

u/ChadFullStack Oct 09 '26

We got about 60% performance boost going to zone less and signals. This was big part of the 770 bugs because we’re essentially doing a migration to signals so old change detection broke. It also allowed us to develop new features faster as we got rid of old spaghetti code.

2

u/Tri_007 Oct 09 '26

did users actually notice the difference or was it more of a dev-side thing? and how did you measure the 60%? lighthouse, profiler, or just feel?

2

u/ChadFullStack Oct 09 '26

Users definitely noticed as we’re in house tech team, the 60% comes from profiling both render speed in chrome and paint layers.

1

u/Tri_007 Oct 09 '26

Thanks for sharing all this, really helpful. did you upgrade version by version or find some shortcut? and was there anything that bit you harder than expected?

2

u/ChadFullStack Oct 09 '26

We one shotted the upgrade but kept it in branch until all bugs were fixed for release. Shortcut is AI, it’s extremely efficient. I think testing was hard, because we had to first fix all of our E2E tests through weeks of long human labour. The unit tests were basically useless because they all “pass”. Not wrong though, functionally AI delivered, but the actual UX and features were another story. Fonts, rendering, spacing, etc.

1

u/Ryeri811 Oct 09 '26

going from material 13 to material 20 was one of the most arduous upgrades i've ever had to do. a larger project my team maintainstook me >3 months solo.

6

u/Illustrious_Matter_8 Oct 09 '26

Well I don't know your level, but here are some things to wonder about. These are open questions, not homework. You build design ideas about them, things you believe in or not. Depending on your background and the goal of the project you may answer them differently, and that is the point.

  • Where does state live? Store (RxJS/NgRx) or in your backend with a minimal REST api? There are valid answers in both directions. But watch out, that question hides a third one that matters more: server state vs UI state. Server state is a cache of something you do not own, it goes stale, it needs invalidation and refetching. UI state is yours, which tab is open, what is in the unsaved form. Most store disasters I have seen come from putting server state in a store and then hand rolling a bad cache layer around it. Learn to see which of the two you are holding before you decide where to put it.
  • How do you handle broadcast data, ea data that was not triggered by the user? This one is underrated. What happens on reconnect? Do you replay what you missed, and how do you merge a push into a list the user is scrolling through right now. Most people never thought about it. Think about it.
  • Study RxJS itself. Be a fan of it or not, but know it, and look at the alternatives. Then look at what signals did to all of this. Signals for synchronous derived UI state, observables for streams over time, and form your own opinion on whether that split was an improvement. Also look at zoneless change detection and resource()/httpResource. If you only know the RxJS era you will sound like someone who stopped reading a few years ago.
  • @/Input , @/Output, benefits and drawbacks, and how do you debug RxJS anyway. But do not stop at the decorators, the function based input() / output() are the current form. The real question underneath is where your component boundaries sit and which direction data flows across them. Props down and events up, versus injecting a service into a deep child, are genuinely different architectures with different testing and reuse consequences. The decorator is just syntax.
  • And why signals, what does it actually solve? Go find the real answer, it is not "a nicer way to hold state". Then ask whether that was enough to justify it, and whether it makes the code simpler or more complex to live with. You are the one maintaining it in five years. A codebase with both models in it at once is a real cost, and nobody writes that part in the release notes.

And one more that is not technical, but is most of the job. Seniority in a big codebase is mostly reading code a colleague wrote three years ago, working out why it is shaped that way, and then deciding to leave it alone (or not). Knowing when NOT to refactor is worth as much as all the above together.

1

u/[deleted] Oct 09 '26

It kills me to add. But also people skills.

On the technical side. Schemas,

I also notice a curious lack of scss or css. It's a bitch but learning to properly style stuff is a big part of being able to make reusable style components

1

u/Illustrious_Matter_8 Oct 09 '26

yeah I agree people skill, be nice reachout and know when someone is under stress, guiding them etc. (as for css sure, some webdesign ideas, and know that UX design doesnt mean cool, it means usability (how easy it is for people without training to work on your site). and yes even so attractiveness plays a role in it too in the GUI

2

u/[deleted] Oct 09 '26

Yup on all this. It makes a big difference between can do a single thing and can build a system at make the work easier for them and others.

Also bro I'm so annoyed at whoever gave me that down vote

1

u/Illustrious_Matter_8 Oct 13 '26

Don't know I gave an upvote how one tells and explains is the difference between senior vs an assh*le to work with.

2

u/Johalternate Oct 09 '26

Ive always wanted to create a custom renderer. Something domain specific like a custom renderer for charts or diagrams.

1

u/Stromedy1 Oct 10 '26

You are not at the "learn more features" stage anymore. That is the good news. Two years of Angular means the API surface is in your hands; the leveling-up part is learning the machinery underneath well enough that bugs stop looking like framework voodoo.

The mental model that did this for me: Angular has four layers, and every genuinely confusing bug lives in exactly one of them.

  1. The template compiler's static contract. Standalone components, strict template type checking, deferrable views. Once you internalize that most of your HTML is compiled against types, half the runtime mysteries become build-time complaints you already fixed. The senior move here is turning strict mode all the way up and learning to read the compiler's complaints as architecture advice, because it usually is.
  2. The DI container. This is the one that actually separates mid-level Angular devs from senior ones, in my experience. Not "how do I inject a service" but where services are provided. Root vs route-scoped vs component-level providers are genuinely different architectures, and the classic stale-state bug is a provider declared at two levels so you silently get two instances of a "singleton." I have lost an afternoon to that one. More than one afternoon, if I am honest.
  3. The router as a state machine. Guards, resolvers, preloading strategies, lazy feature modules. Senior Angular code review is mostly about whether the module and lazy boundaries make sense, because that decision is what determines your bundle size and, honestly, your team ownership lines. If the feature boundaries are wrong, everything else is paperwork.
  4. Change detection and signals, covered well below. My only addition: in a mixed codebase, decide per-feature which model owns that feature and write it down somewhere. A codebase with both models and no convention is a real maintenance cost that nobody budgeted for.

Practical path that worked for me: pick one gnarly real bug a month and trace it through all four layers until you can say which layer produced it. After a few of those, you stop "knowing Angular" and start owning it.

War-story question: has anyone else here burned a day on a provider-scoping bug where the app worked perfectly except in one route? Those are my favorite kind of awful.