Re:Show HN: Backhooks, hooks for Node.js and the back-end
by codehammer on Thursday January 19, 2023 @01:18AM
(#34437292)
It is actually! Dependency injection is not that easy with NodeJS in some execution contexts like http requests. Some frameworks make it easy like NestJS, but it's a relatively heavy implementation of DI. This method is lightweight and potentially easier to use, with an API close to react hooks or vue composables. Thanks for commenting!
[ Parent
| on HN ]
There are no comments on this comment yet.