Angular 14 inject example: reactive decorator
In this example, we'll see how to make use of Angular 14 inject by creating an example reactive decorator.
We can use the inject()
method in components, directives, and pipes thanks to the latest Angular 14 features.
Find more information about this example from the following thread:
🪄 #angular inject() based reactive decorator https://t.co/HHZ27OibQv
— Younes (@yjaaidi) June 17, 2022
🤔 can't tell though if it's a bit hacky or wild dirty hacky#latenighthacks
thx to @JayCooperBell for the inspiration 😉
... I wonder what you'll come out with 👀 pic.twitter.com/ZHG9NxlWNW
-
Date: