<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/feed.rss.xml" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ashnita</title>
    <description/>
    <link>https://speakerdeck.com/ashnita</link>
    <atom:link rel="self" type="application/rss+xml" href="https://speakerdeck.com/ashnita.rss"/>
    <lastBuildDate>2019-10-28 09:56:55 -0400</lastBuildDate>
    <item>
      <title>Preloading Routes for Faster Navigation</title>
      <description>Code splitting allows us to divide an application’s JavaScript bundle into smaller bundles. Instead of loading the JavaScript for the whole application, we can load an initial bundle that only has what the application needs to bootstrap. Using lazy loading, we dynamically load the JavaScript bundles for the feature modules when the user navigates to its route.

Although this allows the application to load faster and responses to user interactions to be faster, lazy loading can cause the initial navigation to the feature routes to be slow, as the user has to wait while the browser downloads and processes the JavaScript bundle before rendering the route.

Can we achieve both faster application load time and faster navigation?

Find out in this talk how preloading feature routes can give faster navigation, what built-in preloading strategy is available in Angular, how to create custom preloading strategies and use Quicklink library for selective preloading or Guess.js for predictive pre-fetching.</description>
      <media:content url="https://files.speakerdeck.com/presentations/dd55f380d59843bb9d03407a826083c4/preview_slide_0.jpg?16216879" type="image/jpeg" medium="image"/>
      <content:encoded>Code splitting allows us to divide an application’s JavaScript bundle into smaller bundles. Instead of loading the JavaScript for the whole application, we can load an initial bundle that only has what the application needs to bootstrap. Using lazy loading, we dynamically load the JavaScript bundles for the feature modules when the user navigates to its route.

Although this allows the application to load faster and responses to user interactions to be faster, lazy loading can cause the initial navigation to the feature routes to be slow, as the user has to wait while the browser downloads and processes the JavaScript bundle before rendering the route.

Can we achieve both faster application load time and faster navigation?

Find out in this talk how preloading feature routes can give faster navigation, what built-in preloading strategy is available in Angular, how to create custom preloading strategies and use Quicklink library for selective preloading or Guess.js for predictive pre-fetching.</content:encoded>
      <pubDate>Fri, 04 Sep 2020 00:00:00 -0400</pubDate>
      <link>https://speakerdeck.com/ashnita/preloading-routes-for-faster-navigation</link>
      <guid>https://speakerdeck.com/ashnita/preloading-routes-for-faster-navigation</guid>
    </item>
    <item>
      <title>Creating Custom Structural Directives in Angular</title>
      <description>This talk is about creating custom structural directives to implement the logic to create embedded views. It gives a brief introduction to directives, views and dynamic views, &lt;ng-template&gt; and TemplateRef, view containers and ViewContainerRef, naming input properties, how structural directives pass context to embedded views which they access using template input variables. It also talks about the syntactic sugar provided by the asterisk and the microsyntax in the string passed to structural directives when using the asterisk syntax. </description>
      <media:content url="https://files.speakerdeck.com/presentations/d70cfa436b804993a2887a05db79c241/preview_slide_0.jpg?14007526" type="image/jpeg" medium="image"/>
      <content:encoded>This talk is about creating custom structural directives to implement the logic to create embedded views. It gives a brief introduction to directives, views and dynamic views, &lt;ng-template&gt; and TemplateRef, view containers and ViewContainerRef, naming input properties, how structural directives pass context to embedded views which they access using template input variables. It also talks about the syntactic sugar provided by the asterisk and the microsyntax in the string passed to structural directives when using the asterisk syntax. </content:encoded>
      <pubDate>Thu, 24 Oct 2019 00:00:00 -0400</pubDate>
      <link>https://speakerdeck.com/ashnita/creating-custom-structural-directives-in-angular</link>
      <guid>https://speakerdeck.com/ashnita/creating-custom-structural-directives-in-angular</guid>
    </item>
  </channel>
</rss>
