<?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>Forem: Raaj</title>
    <description>The latest articles on Forem by Raaj (@raaj).</description>
    <link>https://forem.com/raaj</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%2F517767%2Ffd781627-07bb-4f16-90cb-e7769005bd88.jpg</url>
      <title>Forem: Raaj</title>
      <link>https://forem.com/raaj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/raaj"/>
    <language>en</language>
    <item>
      <title>Dynamic Module Imports in javascript</title>
      <dc:creator>Raaj</dc:creator>
      <pubDate>Mon, 13 Jun 2022 17:39:49 +0000</pubDate>
      <link>https://forem.com/raaj/dynamic-module-imports-in-javascript-30fl</link>
      <guid>https://forem.com/raaj/dynamic-module-imports-in-javascript-30fl</guid>
      <description>&lt;p&gt;If you are reading this article then you are most likely aware of static module imports.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XBgaIKCf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o7u0ymwv16bfy0p5p681.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XBgaIKCf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o7u0ymwv16bfy0p5p681.png" alt="static import syntax" width="618" height="50"&gt;&lt;/a&gt; The above code allows you to split up your JavaScript across multiple files and import them only when needed. The issue, though, is this code is always downloaded immediately by the browser leading to potentially slow page loads. This is where dynamic module imports come in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;How To Use Dynamic Module Import?&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dynamic module imports are very similar to static module imports, but the code is loaded only when it is needed instead of being loaded right away. This means your page load speed will be much quicker and the user will only ever load JavaScript code that they are actually going to use.&lt;/p&gt;

&lt;p&gt;Here is a simple example of how to download the above module using dynamic module imports.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--v1Ldk7dZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mhv02ayhj62729irsych.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--v1Ldk7dZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mhv02ayhj62729irsych.png" alt="Dynamic import syntax" width="572" height="89"&gt;&lt;/a&gt; As you can see this code is pretty similar to using a normal import but instead, this import is a function that returns a promise. This promise contains all the details of the module.&lt;/p&gt;

&lt;p&gt;You will notice, though, that the default export of the module must actually be destructured from the promise return value. This is why we have the code default: User which is mapping the default export to the User variable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;You can also use async/await to clean this up even more.&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HpZaY5ZD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u1gkibmczghy9xrwal7t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HpZaY5ZD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u1gkibmczghy9xrwal7t.png" alt="Dynamic import using async/await" width="626" height="53"&gt;&lt;/a&gt; This code works the same as the promise-based version, but in my opinion, is a bit cleaner and easier to work with.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Solve Cors Error in Frontend</title>
      <dc:creator>Raaj</dc:creator>
      <pubDate>Mon, 13 Jun 2022 17:31:18 +0000</pubDate>
      <link>https://forem.com/raaj/how-to-solve-cors-error-in-frontend-5630</link>
      <guid>https://forem.com/raaj/how-to-solve-cors-error-in-frontend-5630</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z2eov2fW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kj1dordc1rzz9frmr9n7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z2eov2fW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kj1dordc1rzz9frmr9n7.jpg" alt="Cors Error" width="590" height="51"&gt;&lt;/a&gt;&lt;br&gt;
CORS, also known as Cross-Origin Resource Sharing, is something every web developer has to deal with at some point. Chances are if you are reading this article then you are probably dealing with a CORS error right now. In this article I will tell you what CORS is and how you can fix CORS errors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1. Install CORS plugin&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--x7I_o5-u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/feevlzq9se8dslel6xkd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--x7I_o5-u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/feevlzq9se8dslel6xkd.png" alt="Cors Plugin" width="777" height="151"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Install Above plugin And Enable CORS plugin&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.plugin interface will be like below image&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Bri3H6GM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nyodwfl5ecxwzjyswhst.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Bri3H6GM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nyodwfl5ecxwzjyswhst.png" alt="Enable/ Turn on Cors" width="499" height="223"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Make your React Native app 3x smaller with one simple command</title>
      <dc:creator>Raaj</dc:creator>
      <pubDate>Mon, 13 Jun 2022 17:25:36 +0000</pubDate>
      <link>https://forem.com/raaj/make-your-react-native-app-3x-smaller-with-one-simple-command-3opc</link>
      <guid>https://forem.com/raaj/make-your-react-native-app-3x-smaller-with-one-simple-command-3opc</guid>
      <description>&lt;h2&gt;
  
  
  &lt;u&gt;Ways to Reduce React Native APK Size&lt;/u&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;- Migrating to React Native from Expo&lt;/li&gt;
&lt;li&gt;- Make Changes in android/app/build.gradle

&lt;ul&gt;
&lt;li&gt;2.1 Set def enableProguardInReleaseBuilds = true&lt;/li&gt;
&lt;li&gt;2.2 Set def enableSeparateBuildPerCPUArchitecture = true &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  &lt;u&gt;1.Migrating to React Native from Expo&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;I Love everything about Expo except the size of the binaries. Each binary weighs around 25 MB regardless of your app.&lt;/p&gt;

&lt;p&gt;So the first thing to do is migrate the existing Expo app to React Native. This is the simplest and coolest method to reduce your APK&lt;/p&gt;

&lt;p&gt;To migrate the expo app 1st step to follow is&lt;/p&gt;

&lt;p&gt;open your root directory and execute the following the command&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CkR0wl7S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/saz548jezpcq7xc6wcm6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CkR0wl7S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/saz548jezpcq7xc6wcm6.png" alt="expo eject" width="880" height="164"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This will download the required dependencies and build native projects under the ios and android directories.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;2.Make Changes in android/app/build.gradle&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
This is what you have been waiting for, I know.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open up android/app/build.gradle&lt;/li&gt;
&lt;li&gt;Set def enableProguardInReleaseBuilds = true&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;this would enable Progaurd to compress the Java Bytecode. This reduces the app size by a tad bit&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set def enableSeparateBuildPerCPUArchitecture = true.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Android devices support two major device architectures armebi and x86. By default, RN builds the native libraries for both these architectures into the same apk.&lt;/p&gt;

&lt;p&gt;Setting the last function creates two distinct apk in the build folder. You have to upload both of these apk to Play Store and Google would take care of distributing the app to the correct architectures&lt;/p&gt;

&lt;p&gt;Using this split generates version numbers for both apk's in the order of 104856 and such. This is auto-generated by the build to avoid version conflicts, so dont freak out (i did).&lt;/p&gt;

&lt;p&gt;This split reduced the apk size from around 7mb to 3.5mb for arm and 5mb for x86 respectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;yeah&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
so thats how you lose weight. Reducing the size of your app has many added benefits, the best being more users will be willing to download your app. And the app won't consume more space in the user device&lt;/p&gt;

</description>
      <category>reactnative</category>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Delete the node modules Folder on Windows</title>
      <dc:creator>Raaj</dc:creator>
      <pubDate>Tue, 07 Jun 2022 18:22:16 +0000</pubDate>
      <link>https://forem.com/raaj/how-to-delete-the-node-modules-folder-on-windows-3a2b</link>
      <guid>https://forem.com/raaj/how-to-delete-the-node-modules-folder-on-windows-3a2b</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa86lfktnvpb3f3asomb3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa86lfktnvpb3f3asomb3.png" alt="NPM"&gt;&lt;/a&gt;If you attempt to delete the node_modules folder on Windows, you may have trouble for a variety of reasons. In some cases, for example, the folder nesting within the directory creates folder names that are too long. You might also get the annoying Folder Access Denied message stating, "&lt;strong&gt;You'll need to provide administrator permission to delete this folder&lt;/strong&gt;".&lt;/p&gt;

&lt;p&gt;The solution I use is to install &lt;strong&gt;RimRaf&lt;/strong&gt; globally with &lt;strong&gt;npm&lt;/strong&gt; and then use it to delete the folder. RimRaf is an implementation of the UNIX/LINUX command &lt;strong&gt;rm -rf&lt;/strong&gt; for Node, which removes directories and their contents recursively. First, enter this command to install RimRaf from npm:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fodq1pk4uc554podkxeiv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fodq1pk4uc554podkxeiv.png" alt="npm i rimraf"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once it is installed, you can use the following command from within the project directory that contains the &lt;strong&gt;node_modules folder.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwnqzeme938pal8muwxs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwnqzeme938pal8muwxs.png" alt="rimraf node_modules"&gt;&lt;/a&gt;That's it! It works and it's easy to remember and execute.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>create-react-app not working</title>
      <dc:creator>Raaj</dc:creator>
      <pubDate>Sun, 13 Mar 2022 15:18:38 +0000</pubDate>
      <link>https://forem.com/raaj/create-react-app-not-working-4166</link>
      <guid>https://forem.com/raaj/create-react-app-not-working-4166</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;u&gt;  If you are facing this version issue follow the below steps&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;In your new folder&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.npm init&lt;/p&gt;

&lt;p&gt;2.npm install create-react-app&lt;/p&gt;

&lt;p&gt;3.npx create-react-app myapp&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Conclusion :&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
     There are many ways to solve this error, Above mentioned steps are one of the method that help you to solve this error&lt;/p&gt;

</description>
    </item>
    <item>
      <title>React.js tips for better performance. Part 1</title>
      <dc:creator>Raaj</dc:creator>
      <pubDate>Wed, 09 Mar 2022 18:42:30 +0000</pubDate>
      <link>https://forem.com/raaj/reactjs-tips-for-better-performance-part-1-21og</link>
      <guid>https://forem.com/raaj/reactjs-tips-for-better-performance-part-1-21og</guid>
      <description>&lt;p&gt;&lt;strong&gt;1) Avoid using the index as a key for the map&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;2) Analyzing and optimizing Webpack Bundle Bloat&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;3) Using Immutable Data Structures&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;4) Use React.Fragments&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1) Avoid using the index as a key for the map&lt;/strong&gt;&lt;br&gt;
               We often see index being used as a key when rendering a list. But using the key as the index may show your app incorrect data as it is being used to identify DOM elements. Whenever you push or remove an item from the list if the key is the same as before, React assumes that the DOM element represents the same component, it is always advisable to use a unique property like id as a key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2)  Analyzing and optimizing Webpack Bundle Bloat&lt;/strong&gt;&lt;br&gt;
              If you use are using Webpack, you should check and analyze your application bundle to remove the plugins or modules that aren’t needed. You can consider using Webpack Bundle Analyzer, which helps you to visualize the size of webpack output files with an interactive zoomable treemap, I love it&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3) Using Immutable Data Structures&lt;/strong&gt;&lt;br&gt;
                There is a lot to learn about Immutable Data Structures, Data immutability comes from the functional programming world. I will strongly recommend you to read about "Data immutability" as there is a lot to talk about.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4) Use React.Fragments&lt;/strong&gt;&lt;br&gt;
                I asked myself why use React Fragment when I could just use div, bcos I'm curious and passionate about web performance, made some research, and I discover div created additional HTML element wrappers, so div is slightly lower in performance.&lt;/p&gt;

</description>
      <category>react</category>
      <category>reactnative</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to optimize React Native App</title>
      <dc:creator>Raaj</dc:creator>
      <pubDate>Thu, 06 May 2021 07:16:48 +0000</pubDate>
      <link>https://forem.com/raaj/how-to-optimize-react-native-app-47mj</link>
      <guid>https://forem.com/raaj/how-to-optimize-react-native-app-47mj</guid>
      <description>&lt;p&gt;A great user experience should be the core objective of any app development. Although React Native tries to provide everything you need to develop a performant application, there are occasions where you have to manually optimize your app. To do this, developers need to have a performance optimization mindset from the start of their projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Ways to Optimize the React Native App&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Use FlatList&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;2. Remove all console statements&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;3. Memoize expensive computations&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;4. Use Relevant sized images&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;5. Remove unnecessary libraries and features&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;6. Use Hermes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Use FlatList  to render large lists in React Native&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you have a large list, rendering all the items at once can cause a performance issue, but lazy loading with FlatList will improve performance&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from 'react'
import {FlatList} from 'react-native'

const data = [
  {
    id: 1,
    text: 'First'
  },
  {
    id: 2,
    text: 'Second'
  },
  ...
]

const App = () =&amp;gt;{
    const renderItem = ({item}) =&amp;gt;(
        &amp;lt;View&amp;gt;
          &amp;lt;Text&amp;gt;{item.text}&amp;lt;/Text&amp;gt;
        &amp;lt;/View&amp;gt;
    )
    return (
        &amp;lt;FlatList
          data={data}
          renderItem={renderItem}
          keyExtractor={item =&amp;gt; item.id}
        /&amp;gt;
    )
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Remove all console statements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While you could install some plugins such as babel-plugin-transform-remove-console to remove these statements from production&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Memoize expensive computations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;React introduced the memo HOC (Higher Order Component) for preventing unnecessary re-rendering and the useMemo hook for optimizing expensive computations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Adjust (resize and scale down) image sizes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Images can contribute significantly to performance issues in React Native applications. So use relevant sized Images to increase the loading performance of your App&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Remove unnecessary libraries and features&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Each library in a React or React Native application leaves some footprint on the application. This is why you should only add libraries and features you need in your app and remove irrelevant dependencies and libraries. Animations, navigations, tabs, and other features can contribute to the screen load time and so the more they are on the screen, the worse the performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Use Hermes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hermes is a JavaScript Engine developed by Facebook in 2019. It is one of the must-have features for improving app performance, reducing memory usage, decreasing app size, and improving the app start-up time.&lt;br&gt;
  Hermes is not currently enabled by default in React Native but you can easily enable it in your app.&lt;br&gt;
  To enable Hermes on Android, edit your android/app/build.gradle file and add the following rules.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;project.ext.react = [
      entryFile: "index.js",
      enableHermes: true
  ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>react</category>
      <category>reactnative</category>
      <category>howto</category>
    </item>
  </channel>
</rss>
