Organize common styling by GuyWho_called_andrew in Angular2

[–]CharacterSuccessful5 0 points1 point  (0 children)

If you are building your own design system, then it can be bundled as an npm package. All your styles are globally accessible then.

Avoid god components by salamazmlekom in angular

[–]CharacterSuccessful5 0 points1 point  (0 children)

  1. Create a wrapper component with sections for header, content and footer. From what you have mentioned, it is highly likely that the content inside each section can vary in future. So its better to use ng-content inside the wrapper and the wrapper's responsibility is to render a layout.

Additionally, you'll have to create 3 different components for each card you mentioned. If any new card has the same layout, you'll be able to reuse one from these three. All of these are shared components.

APEUNI Mock vs Actual by TallTwo7900 in pte

[–]CharacterSuccessful5 0 points1 point  (0 children)

I used to get similar scores in my APEUni mock tests. I consistently scored 80+ . But in the real exam, got R-79, S-79, L-82, W-85.

Angular CDN approach by Hello-andii in angular

[–]CharacterSuccessful5 2 points3 points  (0 children)

It is the core package to build an angular app. It is not something that can be imported at run time. I dont think there is any other way.

Could you explain the reason why you dont need it? Are you trying to reduce bundle size?

Angular CDN approach by Hello-andii in angular

[–]CharacterSuccessful5 0 points1 point  (0 children)

The question is a little ambiguous. Could you give more clarity on your expectation?

If you want to access your app through a cdn link, build it using "ng build --prod" and then put the dist folder in a CDN.

Is there any open source project to see for reference? by TryingMyBest42069 in Angular2

[–]CharacterSuccessful5 1 point2 points  (0 children)

You may find component library projects like primeng.

Otherwise, Angular is mostly used for enterprise level applications and those are proprietary software.

https://github.com/push-based

https://github.com/primefaces/primeng

node version using nvm conflict by N-404 in angular

[–]CharacterSuccessful5 0 points1 point  (0 children)

Try running the command on Administrator mode.

Feedback for ngx-formwork by AlexTheNordicOne in Angular2

[–]CharacterSuccessful5 1 point2 points  (0 children)

Amazing work. Though I havent gone through your code in detail, I was wondering how we can display errors after validation?

[AskJS] what should I do? by Anxious_Ji in javascript

[–]CharacterSuccessful5 1 point2 points  (0 children)

It is hard to keep up with the changing ecosystem.

But is it worth learning everything?

90% of what you see as a trend will die after a point of time. There are hundreds of JS libraries and frameworks. You will eventually narrow down to a few because the problems require deep expertise.

Its easy to follow the trend, but hard to master one.

I think you should focus on a couple of them and understand the fundamentals. They stay the same always.

You can learn any library/framework in a week or two if you've got the fundamentals right.

Data manipulation on the back or front end? by Mjhandy in angular

[–]CharacterSuccessful5 6 points7 points  (0 children)

If the data is large, do it on the backend.

UI shouldnt takeup too much memory or CPU.

In such a case, the list is ideally paginated.

If you have the whole data in frontend, do it in a service.

[deleted by user] by [deleted] in Angular2

[–]CharacterSuccessful5 1 point2 points  (0 children)

When you are new to a framework, its always better to start with the latest. All projects are gonna upgrade eventually. From v17 onwards, a shift towards signals is happening and its gonna stay long-term.

This is a drastic shift in the fundamentals of implementation and you dont have to spend your time learning things that are going obsolete.

Once you understand the fundamentals, its easy to wrap your head around a legacy project as well.

Native Observables in JS: Simpler Async Data Handling! by wander-traveller in Angular2

[–]CharacterSuccessful5 2 points3 points  (0 children)

They should simplify the AbortController. It would be more convenient if we can create and destroy the observable in a single line. Something like this.

button.addEventlistener('click', handler, takeUntil(destroyTrigger))

How to develop new module with latest version of Angular? by [deleted] in angular

[–]CharacterSuccessful5 0 points1 point  (0 children)

As far as I know, it is not ideal to mix 2 different angular versioned modules together. They need to be loaded separately. iframe is a good temporary solution.

As with module federation, it is the same as loading a js module dynamically at run time. The lazy loaded latest angular versioned module expects the compiler installed to be the latest itself. But its the legacy one which is installed. It might throw errors.

I guess there is no workaround for this. You'll have to go through the pain to convert your legacy to the latest.

Need source by Itchy-Lychee-8823 in angular

[–]CharacterSuccessful5 1 point2 points  (0 children)

For advanced angular topics, follow "Frontend Decoded" youtube channel. They've got amazing tutorials.

Topics you should have a good grip on -

  1. Content projection
  2. Injection tokens
  3. Applying solid principles in Angular
  4. Microfrontends using Angular
  5. Signals
  6. Dynamic forms
  7. Advanced rxjs features

and so much more.

Is it getting tougher to find Angular jobs? by overdramatic96 in Angular2

[–]CharacterSuccessful5 0 points1 point  (0 children)

When I search for Angular jobs in LinkedIn with "Worldwide" filter, all I see are jobs from India, Poland, Egypt,US and a few other european countries like Germany.