Re:Show HN: Yet Another Node.js Framework
by simlevesque on Sunday November 27, 2022 @01:37PM
(#33765310)
Yeah, decorators were a mistake. I don't want any in my code or my dependencies.
[ Parent
| on HN ]
Re:Show HN: Yet Another Node.js Framework
by popotamonga on Sunday November 27, 2022 @01:58PM
(#33765538)
Why does it need the use if its already a parameter?
Re:Show HN: Yet Another Node.js Framework
by eurasiantiger on Sunday November 27, 2022 @02:14PM
(#33765690)
It’s a dependency injection pattern. The decorator is telling some other piece of code what to pass in to that method, or to set some hidden context.
I’d check the docs for what it specifically does, but the site is completely unusable on iOS.