<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hierarchies on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/hierarchies/</link><description>Recent content in Hierarchies on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 25 Oct 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/hierarchies/index.xml" rel="self" type="application/rss+xml"/><item><title>Working with Injectors and Hierarchies in Injection-JS</title><link>https://ai-blog.noorshomelab.dev/injection-js-guide-chapters/working-with-injectors-and-hierarchies/</link><pubDate>Sat, 25 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/injection-js-guide-chapters/working-with-injectors-and-hierarchies/</guid><description>&lt;h2 id="3-working-with-injectors-and-hierarchies"&gt;3. Working with Injectors and Hierarchies&lt;/h2&gt;
&lt;p&gt;In the previous chapter, we learned about services, providers, and how to create a basic injector. Now, let&amp;rsquo;s dive deeper into how &lt;code&gt;ReflectiveInjector&lt;/code&gt; resolves dependencies and, more importantly, how to build sophisticated &lt;strong&gt;injector hierarchies&lt;/strong&gt; to manage dependencies in large, modular applications.&lt;/p&gt;
&lt;h3 id="the-role-of-reflectiveinjector"&gt;The Role of &lt;code&gt;ReflectiveInjector&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;ReflectiveInjector&lt;/code&gt; is the central component that &lt;code&gt;injection-js&lt;/code&gt; uses to resolve dependencies. When you call &lt;code&gt;injector.get(SomeToken)&lt;/code&gt;, it performs the following steps:&lt;/p&gt;</description></item></channel></rss>