Open in app

Sign In

Write

Sign In

kelly woo
kelly woo

165 Followers

Home

About

Mar 15, 2022

[Angular] DI Resolution modifiers

DI Resolution modifiers is the decorator we use for Dependency Injection. constructor(@Inject(Document) private document: HTMLDocument) {} or constructor(@Optional() private optionalService: OptionalService) {} You might have used it before, or just seen on some library and never used it before. …

Dependency Injection

4 min read

[Angular] DI Resolution modifiers
[Angular] DI Resolution modifiers
Dependency Injection

4 min read


Feb 19, 2022

Why I requested to change the whole logic of code in code review.

A lot of articles say what Code Review should be like or shouldn’t be like. You should not criticize the code. You should encourage commiters to work with better code, not discourage them by giving negative feedbacks. You should check(test) it works well or on the contrary just check the…

Code Review

4 min read

Why I requested to change the whole logic of code in code review.
Why I requested to change the whole logic of code in code review.
Code Review

4 min read


Feb 17, 2022

[Rxjs] Rxjs store for angular (rx-ng-store)2

If you haven’t read the article, it would be helpful to read the first one, but not necessary. [Rxjs] Rxjs store for angular (rx-ng-store) Rxjs is powerful. It is good with operators and it gives cozy place to cache the data, BehaviorSubject.kelly-kh-woo.medium.com So I made a lot of changes from last article. Yes, I’m admitting that the first one was poorly designed, but it is critical step to practice, failing, it was only draft on…

Rxjs

4 min read

[Rxjs] Rxjs store for angular (rx-ng-store)2
[Rxjs] Rxjs store for angular (rx-ng-store)2
Rxjs

4 min read


Feb 8, 2022

[Rxjs] Rxjs store for angular (rx-ng-store)1

Rxjs is powerful. It is good with operators and it gives cozy place to cache the data, BehaviorSubject. Most big apps use well-structured store like ngrx or redux based other state manage libraries, but sometimes you app is just enough with rxjs if you don’t need that much of systematic…

Rxjs

4 min read

[Rxjs] Rxjs store for angular (rx-ng-store)1
[Rxjs] Rxjs store for angular (rx-ng-store)1
Rxjs

4 min read


Jan 13, 2022

[Angular] Stop using setter for Input or..

@Input('matBadgeColor') get color(): ThemePalette { return this._color; } set color(value: ThemePalette) { this._setColor(value); this._color = value; } This snippet is from material ui, famous best practice library of angular and they use setter and what is wrong to use it?, you might ask the question. …

Angular

3 min read

[Angular] Stop using setter for Input or..
[Angular] Stop using setter for Input or..
Angular

3 min read


Published in Bits and Pieces

·Jan 10, 2022

Getting Started with React Recoil

An Introduction to Recoil: a React State Library — Getting Started Docs: https://recoiljs.org/docs/introduction/getting-started#recoilroot What caught my eyes is how easy it is to get started with Recoil. No configuration, no complicated implementation, you just wrap your app with RootRecoil, that’s it: const App = ()=> { return ( <RootRecoil> <div id="app-started"> .... </div> </RootRecoil> ); }

React

5 min read

Getting Started with React Recoil
Getting Started with React Recoil
React

5 min read


Dec 19, 2021

[Angular] Must-have Utils to Improve your code.

I love util services. It makes my job easier and keeps code neat. It saves my time and others. The followings are basic utils you can add to your project. | Debounce | Throttle | Audit click What if a user clicks toggle button too soon too many? Yes, your first thought would be throttle, and it…

Angular

3 min read

[Angular] Must-have Utils to Improve your code.
[Angular] Must-have Utils to Improve your code.
Angular

3 min read


Published in Nerd For Tech

·Dec 5, 2021

[angular] All about the ViewContainerRef

ViewContainerRef(VCR) represents a container where one or more view can be attached. It is basically a place where all template grammars do a magic. Most time we write template with mark-ups to make a new view, also we can create view with this VCR on demand. | How to Access to the ViewContainerRef. ViewChild can access to…

Angular

4 min read

[angular] ViewContainerRef
[angular] ViewContainerRef
Angular

4 min read


Oct 10, 2021

[angular] template projection on angular(ng-content vs ng-container)

If only we can keep the template under the birth component, but there are many cases to project the template from one to another. The popular ways to projecting template are reduced 2 ways, using ng-content and ng-template(with ng-container). They looks similar at the first sight, (content, container, and template…

Angular

3 min read

[angular] template projection on angular(ng-content vs ng-container)
[angular] template projection on angular(ng-content vs ng-container)
Angular

3 min read


Aug 29, 2021

[angular] Inject different Service into a Service.

Dependency Injection is important concept of angular structure, instead of creating new instance manually, you can just declare it on the module or component. We can use same instance for the whole app, but some times you might encounter the situation that requires different instance to each component. But is…

Angular

2 min read

[angular] Inject different Service into a Service.
[angular] Inject different Service into a Service.
Angular

2 min read

kelly woo

kelly woo

165 Followers

front-end developer in seoul

Following
  • Bharathvaj Ganesan

    Bharathvaj Ganesan

  • Ahmed shamim hassan

    Ahmed shamim hassan

  • S M Mamunur Rahman

    S M Mamunur Rahman

  • Rakia Ben Sassi

    Rakia Ben Sassi

  • Max Koretskyi

    Max Koretskyi

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech