<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: The Hardcoded, Dynamic and Hybrid Approach in Angular Apps	</title>
	<atom:link href="https://christianlydemann.com/hardcoded-dynamic-and-hybrid-approach-in-angular-apps/feed/" rel="self" type="application/rss+xml" />
	<link>https://christianlydemann.com/hardcoded-dynamic-and-hybrid-approach-in-angular-apps/</link>
	<description>Advanced Angular Training Made Simple</description>
	<lastBuildDate>Sun, 25 Aug 2019 19:05:01 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
	<item>
		<title>
		By: Christian		</title>
		<link>https://christianlydemann.com/hardcoded-dynamic-and-hybrid-approach-in-angular-apps/#comment-9580</link>

		<dc:creator><![CDATA[Christian]]></dc:creator>
		<pubDate>Sun, 25 Aug 2019 19:05:01 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=1176#comment-9580</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://christianlydemann.com/hardcoded-dynamic-and-hybrid-approach-in-angular-apps/#comment-9097&quot;&gt;Murray Bauer&lt;/a&gt;.

Ng-switch is also an option but I prefer to keep the templates as slim and dumb as possible. Also, it is worth to look into dynamic creation of components, instead of the templateRefs for inserting the hardcoded parts:
https://angular.io/guide/dynamic-component-loader]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://christianlydemann.com/hardcoded-dynamic-and-hybrid-approach-in-angular-apps/#comment-9097">Murray Bauer</a>.</p>
<p>Ng-switch is also an option but I prefer to keep the templates as slim and dumb as possible. Also, it is worth to look into dynamic creation of components, instead of the templateRefs for inserting the hardcoded parts:<br />
<a href="https://angular.io/guide/dynamic-component-loader" rel="nofollow ugc">https://angular.io/guide/dynamic-component-loader</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Murray Bauer		</title>
		<link>https://christianlydemann.com/hardcoded-dynamic-and-hybrid-approach-in-angular-apps/#comment-9097</link>

		<dc:creator><![CDATA[Murray Bauer]]></dc:creator>
		<pubDate>Thu, 22 Aug 2019 10:01:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=1176#comment-9097</guid>

					<description><![CDATA[Nice to look into this common problem.  But forgive me, why couldn&#039;t you just add any  componets to the ng-switch statement?  I&#039;m not understanding the benefits of your approach over ng-switch? - you still need to register the componet names beforehand, which are stilll eager loaded entry componets in the module and still only rendered on the screen if applicable?]]></description>
			<content:encoded><![CDATA[<p>Nice to look into this common problem.  But forgive me, why couldn&#8217;t you just add any  componets to the ng-switch statement?  I&#8217;m not understanding the benefits of your approach over ng-switch? &#8211; you still need to register the componet names beforehand, which are stilll eager loaded entry componets in the module and still only rendered on the screen if applicable?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/1326 objects using Memcache
Page Caching using Disk: Enhanced 
Minified using Disk
Database Caching using Disk (Request-wide modification query)

Served from: christianlydemann.com @ 2026-03-15 22:04:08 by W3 Total Cache
-->