Get Great At Javascript (@ggatjavascript) 's Twitter Profile
Get Great At Javascript

@ggatjavascript

A place to learn and share what you learned

ID: 1632892932633026562

calendar_today06-03-2023 23:56:49

31 Tweet

4 Followers

85 Following

Armen Vardanyan (@armandotrue) 's Twitter Profile Photo

#Angular dependency injection is way more powerful than one might think. We can, for example, use it to choose which implementation of a service to use. Here is an example of using a `console.log` logger in development and another one in production:

#Angular dependency injection is way more powerful than one might think. We can, for example, use it to choose which implementation of a service to use. Here is an example of using a `console.log` logger in development and another one in production:
Cory House (@housecor) 's Twitter Profile Photo

As a React developer: If I'm copy/pasting JSX, I should probably create a reusable component. If I'm copy/pasting logic, I should probably create a custom hook.

Cory House (@housecor) 's Twitter Profile Photo

There are many ways to write unreliable software. These 8 practices help me write reliable software. ✅Static types ✅Feature flags ✅Automated tests ✅Small pull requests ✅Robust code reviews ✅Continuous integration ✅Automated deployments ✅Writing mostly pure functions

Minko Gechev (@mgechev) 's Twitter Profile Photo

📣 Just shared summary of the results from the Angular Developer Survey 2023 Learn how the top requests and opportunities for Angular align with the work on our roadmap 🔥 blog.angular.io/angular-develo…

Brecht Billiet (@brechtbilliet) 's Twitter Profile Photo

Should we really use #Angular OnPush ChangeDetection strategy or not? I created an in-depth explanation of what you should do in what situation! 🚀👻blog.simplified.courses/angular-change…

Should we really use #Angular OnPush ChangeDetection strategy or not?
I created an in-depth explanation of what you should do in what situation! 🚀👻blog.simplified.courses/angular-change…
Enea Jahollari 🅰 (@enea_jahollari) 's Twitter Profile Photo

You can now play with Input Transform available in v16.1.0-next.3 🎉 You can play with it here: stackblitz.com/edit/stackblit… I wrote about it here: itnext.io/add-superpower… ✏️ #angular

Brecht Billiet (@brechtbilliet) 's Twitter Profile Photo

A while ago I wrote an #Angular Change Detection Cheat sheet. Change detection is way to complex so I tried to simplify it for you 🤓🥰. I explained the cheat sheet in depth for you here! blog.simplified.courses/angular-change…

A while ago I wrote an #Angular Change Detection Cheat sheet. Change detection is way to complex so I tried to simplify it for you 🤓🥰.
I explained the cheat sheet in depth for you here!
blog.simplified.courses/angular-change…
Brecht Billiet (@brechtbilliet) 's Twitter Profile Photo

Here are some common #Angular performance issues: - HostListeners on document or window - Forgetting trackBy on *ngFor - Not using OnPush - Deep-cloning objects - Running too much in the inner zone - Not unsubscribing from observables Have a great evening!🤓🚀🚀🚀

Cory House (@housecor) 's Twitter Profile Photo

A common mistake: “I don’t like that person, so I won’t agree with anything they say.” Example: “I don’t like Uncle Bob. So, DRY is dumb”. A person you dislike may have good ideas. And a person you like may have bad ideas. Separate ideas from people.

Gergely Szerovay (@gergelyszerovay) 's Twitter Profile Photo

🅰️📰"Working with providers in Angular" ✍️ by Sergey sergeygultyayev.medium.com/working-with-p… #angular #javascript #typescript #AngularAddicts

Cory House (@housecor) 's Twitter Profile Photo

Software development is intimidating because there is no "arrival". There's no day I can say "I fully understand". A career in software development feels like watching a river of information flow past every day. I can't possibly absorb it all. So, here's my approach: 1.

Cory House (@housecor) 's Twitter Profile Photo

I often group related props into an object. Advantages: ✅ Less code, so easier to read ✅ Clarifies the relationship between related fields ✅ Makes it easier to pass the data around ✅ Don’t need to change the component’s API when properties change

I often group related props into an object.

Advantages:
✅ Less code, so easier to read
✅ Clarifies the relationship between related fields
✅ Makes it easier to pass the data around
✅ Don’t need to change the component’s API when properties change
Thomas 🅰️🇨🇵 (@laforge_toma) 's Twitter Profile Photo

You want to know everything about Dependancy Injection in #Angular, how it works and how to master it. 😱 🤯 🧐 Here is my new article. It has been a while since I wanted to write about it and here it is. 😅 I hope you will enjoy it and learn from it. 🚀

Matt Pocock (@mattpocockuk) 's Twitter Profile Photo

🔥 TypeScript Tip 🔥 A little gotcha with TypeScript is that tuples can be passed to arrays. This means that TS won't yell at you if you mutate a tuple inside a function. Using 'readonly' on your tuples can REALLY help.

🔥 TypeScript Tip 🔥

A little gotcha with TypeScript is that tuples can be passed to arrays.

This means that TS won't yell at you if you mutate a tuple inside a function.

Using 'readonly' on your tuples can REALLY help.
Gergely Szerovay (@gergelyszerovay) 's Twitter Profile Photo

🅰️💥In Angular, you can bind an input element's value to a signal by '[ngModel]' and '(ngModelChange)': Angular #angular #javascript #typescript #AngularAddicts

🅰️💥In Angular, you can bind an input element's value to a signal by '[ngModel]' and '(ngModelChange)':

<a href="/angular/">Angular</a> #angular #javascript #typescript #AngularAddicts