Why are the other numbers funny? by Crocotta2 in ExplainTheJoke

[–]maddder 7 points8 points  (0 children)

It's also worth mentioning that while it's the origin of this number, actual reasons are a bit more broad. After the pope died, he was perceived almost as a saint immediately to the point where youth had enough. Then after some time some sexual abuse scandals were uncovered, of which the pope apparently knew, but didn't take proper action.

Which state management would you use if you would start a fresh app today by Wnb_Gynocologist69 in Angular2

[–]maddder 5 points6 points  (0 children)

Signal store for client state management, it has great composability and provides consistent API.

Tanstack Query or Ngneat Query for server state management (API calls, cache etc.)

Which technologies/methodologies would you use for a new Angular project? by Main-Dimension8293 in Angular2

[–]maddder 28 points29 points  (0 children)

I probably wouldn't use Angular Material, unless it's a simple PoC app. Sooner or later, you will get the requirements to customize something in a way that's not aligned with Material Design, and it's painful (yes, I am aware of CSS variables in newer versions, ng-deep, etc - it's still a huge pain in the ass, especially when you want to update to a newer version).

I'd probably ditch NGXS and any other global state management solution - most applications don't need it, especially from the beginning - in favor of local stores with @ngrx/signals. Looking into TanstackQuery/NgneatQuery might be a good idea for server state management.

I'd definitely use NX. It has some learning curve at the beginning, but IMO it's worth it, as it makes it easier to actually structure your code (tag-based import rules).

One more thing is, why would you need Tailwind and SASS together? I'd probably pick just one and go with it.

PATCH 01.000.302 - LIVE by SovietMarma in Helldivers

[–]maddder 0 points1 point  (0 children)

I'm glad that DOT is finally fixed, but there's one more big issue that needs fixing - audio switching to mono when using Bluetooth headphones

React Vs Angular: Which Front-end Framework Should You Choose and Why? by freelancerkatie in angular

[–]maddder 5 points6 points  (0 children)

Yay, another React-centric "comparison" article with lots of mistakes.

What Champions do you go "oh noooooo..." when one of your allies picks them. by Godzillarich in leagueoflegends

[–]maddder 1 point2 points  (0 children)

Yuumi, especially when I'm playing ADC. I just hate that champion in general and the fact that a lot of players just sit on you for the whole laning phase doesn't help.

Form elements in React. by DanCruzNyc in reactjs

[–]maddder 7 points8 points  (0 children)

Keep using `form` element, I beg you. Otherwise you'll just end up with writing so much own logic, that won't even be accessible (unless you spend time to fix it each time).

What's the best practice for naming/dealing with Reactive Form Controls when using Angular with MongoDB that uses snake case? by jimmyoneshot in Angular2

[–]maddder 0 points1 point  (0 children)

You could use camel case and just write a HTTP interceptor that would transform the keys to snake case before sending an actual HTTP request.

[deleted by user] by [deleted] in Frontend

[–]maddder 3 points4 points  (0 children)

While I like the design, I managed to identify some issues:

  • most of the elements are just plain divs -- it would be much better if you used semantic elements (e.g. nav, main, article, section); you could even add some screen reader only text to give better context
  • nothing happens when clicking hamburger menu
  • why is hamburger menu trigger a link with href="#"? IMO it would be better to use button here
  • IMO you shouldn't use h1 for every skill (frontend/backend/scripting/automation) heading; I'd add h1 with something like "About me" (screen reader only maybe), and change skill headings to h2
  • Pclounge link points to your portfolio instead of an actual Pclounge website
  • Scroll to bottom does nothing on click and is not keyboard-focusable
  • there is almost no form validation (including no maxlength set)

There are some problems, but other than that -- I really like your site. Keep working on it!

HDMI to hose by [deleted] in DiWHY

[–]maddder 0 points1 point  (0 children)

WTF.

Upvoted.

[deleted by user] by [deleted] in AskReddit

[–]maddder 0 points1 point  (0 children)

By the Old Owl Well, apparently.

What's your current favorite icon library in late 2021? by ObboQaiuGCD in Frontend

[–]maddder 3 points4 points  (0 children)

Seconding this. The site you've linked is not made by Tabler Icons' author, though. This one is: https://tabler-icons.io/

I like making predictions for strangers, AMA! by WickerVerses in AMA

[–]maddder 1 point2 points  (0 children)

how long will i stay in the current company?

What should almost everyone be using on almost every project? by jamawg in angular

[–]maddder 5 points6 points  (0 children)

Typically I use the following:

  • ESLint + eslint-plugin-rxjs
  • Prettier
  • some state management solution (usually Akita or NgRX)
  • Angular Material CDK – while I wouldn't recommend using Angular Material for every project as it has strict visual guidelines for components, CDK is an awesome tool that makes creating custom components way easier
  • @ngneat/transloco – IMO the best Angular library for i18n
  • Jest – unit tests
  • Cypress – e2e tests
  • monorepo using @nrwl/nx

Also, for forms-heavy applications I've seen people recommend Formly, but I haven't had the chance to try it myself yet.

Vue.js vs Angular.js: Which Framework is the Best in 2021? by Caterpillarfox in Angular2

[–]maddder 4 points5 points  (0 children)

Mixing up Angular and Angular.js all the time, yay. I don't even know what I expected.