<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mpjtn</title>
    <description>The latest articles on DEV Community by mpjtn (@mpjtn).</description>
    <link>https://dev.to/mpjtn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F51904%2F8548c1d1-9a02-4484-a1f5-9bf034d44ece.jpeg</url>
      <title>DEV Community: mpjtn</title>
      <link>https://dev.to/mpjtn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mpjtn"/>
    <language>en</language>
    <item>
      <title>Angular 9 - How to Prepare Yourself to the Ride (The Lazy Dev Addition).</title>
      <dc:creator>mpjtn</dc:creator>
      <pubDate>Thu, 19 Dec 2019 08:00:44 +0000</pubDate>
      <link>https://dev.to/mpjtn/angular-9v-how-to-prepare-yourself-to-the-ride-the-stoner-dev-addition-30ed</link>
      <guid>https://dev.to/mpjtn/angular-9v-how-to-prepare-yourself-to-the-ride-the-stoner-dev-addition-30ed</guid>
      <description>&lt;p&gt;I'm going filter some blogs|video to pure actions needed to be taken care so everybody could return quickly to routine, non blocking consumption of joy (and build great apps:)). &lt;/p&gt;

&lt;p&gt;I'm not going to dive into ng-update, it should work but hey - Murphy's law..u know..&lt;/p&gt;

&lt;p&gt;So some changes but not ALL, I try listing only the major ones that can be &lt;br&gt;
  handle ASAP.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML Class breaking changes
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;button [class]="'Marry'" class="'Jane'"&amp;gt; &amp;lt;/button&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;At V 9 both work but only first one will effect.&lt;br&gt;
TILL NOW IT WAS BROKEN!!!.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Testing:&lt;br&gt;
TestBed.inject replacing TestBed.get and require Generic Type.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Module with Providers - add generics to ModuleWithProvider like:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;export class CleanningBowlModule{&lt;br&gt;
      static forRoot(config:BowlConfig}:ModuleWithProviders&amp;lt;MODULE-COME-HERE&amp;gt;)&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;ngForm tag replaced with ng-form.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Renderer replaced with Renderer2, check the follwing link to more extra info if u use heavily with the Renderer2:&lt;br&gt;
&lt;a href="https://next.angular.io/guide/migration-renderer"&gt;https://next.angular.io/guide/migration-renderer&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You cannot any more assign variable to Template Variable such ngIf , ngFor:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;div ngIf="dabber.isActive"&amp;gt;&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;button #dabber (click)="dabber.isActive=!dabber.isActive"&amp;gt;&amp;lt;/button&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;THE ABOVE  will be break! you should replace all template only variable &lt;br&gt;
 with real class variables.&lt;/p&gt;

&lt;p&gt;For more details and deep dive,  check out the following awesome links:&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=5wmWtgr7LQ0"&gt;https://www.youtube.com/watch?v=5wmWtgr7LQ0&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=AKibI36WNhY&amp;amp;t=5shttps://medium.com/angular-in-depth/all-you-need-to-know-about-ivy-the-new-angular-engine-9cde471f42cf"&gt;https://www.youtube.com/watch?v=AKibI36WNhY&amp;amp;t=5shttps://medium.com/angular-in-depth/all-you-need-to-know-about-ivy-the-new-angular-engine-9cde471f42cf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enjoy&lt;/p&gt;

</description>
      <category>angular</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
