{"id":5274,"date":"2020-12-02T04:47:34","date_gmt":"2020-12-02T04:47:34","guid":{"rendered":"https:\/\/www.folio3.com\/mobile\/?p=5274"},"modified":"2020-12-09T06:46:49","modified_gmt":"2020-12-09T06:46:49","slug":"tree-shaking-implementation-in-react","status":"publish","type":"post","link":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/","title":{"rendered":"What is Tree Shaking and Implementation in React"},"content":{"rendered":"\n<p>Reduced size of application &amp; improved performance plays an important role in success of a software. Tree Shaking is a concept in development of eliminating dead code or unused code.<\/p>\n\n\n\n<p>Imagine your application as a tree. All the libraries, components, widgets &amp; code represents leaves. All the unused code, imports &amp; dead code represents the dead brown leaves. In order to clear dead leaves from trees you have to shake the tree to let them fall.<\/p>\n\n\n\n<p>By implementing tree shaking practices website performance will get improved and reduce bundle size. Tree shaking depends on the static structure of ES6 module syntax (import &amp; export).<\/p>\n\n\n\n<p>The reason tree shaking is very important is because most packages installed don&#8217;t really need all dependencies &amp; this results in importing full packages, however what really needed is a small part of that package.<\/p>\n\n\n\n<p>Lets have an example:<\/p>\n\n\n\n<p>Importing <strong>lodash<\/strong> package using CommonJS Module. This import will fetch entire package &amp; all the un required dependencies.<\/p>\n\n\n\n<p><code>const lodash = require('lodash'); <em>70.7K (gzipped: 24.7k)<\/em><\/code><\/p>\n\n\n\n<p>Importing lodash package using <strong>ES6 (ES2015)<\/strong> Module. This import will only fetch specific dependency with tree shaking.<\/p>\n\n\n\n<p><code>import {isArray} from 'lodash'; <em>1K (gzipped: 505)<\/em><\/code><\/p>\n\n\n\n<p>As seen in example above the size of bundle is drastically reduced in ES6 import as compared to CommonJS module import.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Tree Shaking in React Application<\/strong><\/h4>\n\n\n\n<p>If your project is built with create-react-app, the latest version has excellent tree shaking, if you are using an old version of react just update react-scripts to version 2.0.4 or higher.<\/p>\n\n\n\n<p><code>npm install react-scripts@latest --save<\/code><\/p>\n\n\n\n<p>In order to implement tree shaking in react application you will need to have a module bundler that will bundle the entire app\u2019s code. You can either use WebPack or RollUp for bundling your application.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Webpack<\/strong><\/h4>\n\n\n\n<p>webpack is an open-source JavaScript module bundler. It is made primarily for JavaScript. Webpack takes modules with dependencies and generates static assets representing those modules. Webpack uses the <code>babel-preset-env<\/code> package, which bundles your files and transforms the files back to <strong>CommonJS<\/strong> module to support tree-shaking.<\/p>\n\n\n\n<p>To achieve tree shaking, <strong>webpack<\/strong> requires some configuration.&nbsp;Create a file name <code>webpack.config.js<\/code> and add below code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>module.exports = {\n  module: {\n    rules: [\n      {\n        test: \/\\.(js|jsx)$\/,\n        exclude: \/node_modules\/,\n        use: {\n          loader: babel-loader,\n          options: {\n            presets: [\n              [ 'es2015', { modules: false }]\n            ]\n          }\n        }\n      }\n    ]\n  }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Configure the file in side-effect<\/h4>\n\n\n\n<p>A Side-effect is defined as code that performs a special behavior when imported, other than exposing one or more exports. Side effects occur when a function or expression modifies state outside its own context.&nbsp;<\/p>\n\n\n\n<p>If all of application code does not contain side effects, we can simply mark the property as <strong><em>false<\/em><\/strong> to inform webpack that it can safely prune unused exports.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"name\": \"example-project\",\n  \"sideEffects\": false\n}<\/code><\/pre>\n\n\n\n<p>If your code have some side effects, an array can be provided in configuration instead:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"name\": \"example-project\",\n  \"sideEffects\": [\n    \".\/src\/file-with-side-effect.js\",\n    \"*.css\"\n  ]\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Rollup<\/strong><\/h4>\n\n\n\n<p>Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. It uses the standardized ES module format for code, instead of previous idiosyncratic solutions such as CommonJS.<\/p>\n\n\n\n<p>If you are using <strong>Rollup<\/strong> as your module bundler then by default it supports tree-shaking and does not require any additional configuration. Rollup statically analyzes the code you are importing, and will exclude anything that isn&#8217;t actually used. This allows you to build on top of existing tools and modules without adding extra dependencies or bloating the size of your project.<\/p>\n\n\n\n<p>For example, while using <strong>CommonJS<\/strong>, the entire tool or library must be imported.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ import the entire utils object with CommonJS\nconst utils = require( '.\/utils' );\nconst query = 'Rollup';\n\/\/ use the ajax method of the utils object\nutils.ajax(`https:\/\/demoapi.com?search=${query}`).then(handleResponse);<\/code><\/pre>\n\n\n\n<p>we can just import the one ajax function we need:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ import the ajax function with an ES6 import statement\nimport { ajax } from '.\/utils';\nconst query = 'Rollup';\n\/\/ call the ajax function\najax(`https:\/\/demoapi.com?search=${query}`).then(handleResponse);<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Conclusion<\/h4>\n\n\n\n<p>By implementing tree shaking practices website performance will get improved and reduce bundle size. Therefore we strongly recommend to implement tree-shaking practices while development.<\/p>\n\n\n\n<p>Do you know any other tip\/trick to implement tree shaking in React. Do let us know in comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reduced size of application &amp; improved performance plays an important role in success of a software. Tree Shaking is a concept in development of eliminating dead code or unused code. Imagine your application as a tree. All the libraries, components, widgets &amp; code represents leaves. All the unused code, imports &amp; dead code represents the &hellip; <a href=\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What is Tree Shaking and Implementation in React&#8221;<\/span><\/a><\/p>\n","protected":false},"author":9,"featured_media":5341,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[50],"tags":[],"class_list":["post-5274","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-react-native"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to implement\u00a0Tree Shaking in React<\/title>\n<meta name=\"description\" content=\"Best tips to implement Tree Shaking in React in order to Reduced size of application &amp; improved performance plays an important role in success of a software.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to implement\u00a0Tree Shaking in React\" \/>\n<meta property=\"og:description\" content=\"Best tips to implement Tree Shaking in React in order to Reduced size of application &amp; improved performance plays an important role in success of a software.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\" \/>\n<meta property=\"og:site_name\" content=\"Mobile App Development Services\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-02T04:47:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-09T06:46:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1288\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"msaqlain\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"msaqlain\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\"},\"author\":{\"name\":\"msaqlain\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/d7e0ef02800a3f681aaafbd99d7a1c73\"},\"headline\":\"What is Tree Shaking and Implementation in React\",\"datePublished\":\"2020-12-02T04:47:34+00:00\",\"dateModified\":\"2020-12-09T06:46:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\"},\"wordCount\":597,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg\",\"articleSection\":[\"React Native\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\",\"url\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\",\"name\":\"How to implement\u00a0Tree Shaking in React\",\"isPartOf\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg\",\"datePublished\":\"2020-12-02T04:47:34+00:00\",\"dateModified\":\"2020-12-09T06:46:49+00:00\",\"description\":\"Best tips to implement Tree Shaking in React in order to Reduced size of application & improved performance plays an important role in success of a software.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage\",\"url\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg\",\"contentUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg\",\"width\":2560,\"height\":1288,\"caption\":\"Tree Shaking and Implementation in React\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.folio3.com\/mobile\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is Tree Shaking and Implementation in React\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#website\",\"url\":\"https:\/\/www.folio3.com\/mobile\/\",\"name\":\"Mobile App Development Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.folio3.com\/mobile\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\",\"name\":\"Mobile App Development Services\",\"url\":\"https:\/\/www.folio3.com\/mobile\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png\",\"contentUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png\",\"width\":210,\"height\":50,\"caption\":\"Mobile App Development Services\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/d7e0ef02800a3f681aaafbd99d7a1c73\",\"name\":\"msaqlain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b06cfd7df7ee148f3c3b752c732984c8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b06cfd7df7ee148f3c3b752c732984c8?s=96&d=mm&r=g\",\"caption\":\"msaqlain\"},\"description\":\"A hardworking and dedicated individual, determined on the road to success, ever ready to take on challenges and accomplish what I set out to achieve.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/msaqlain\/\",\"noc\"],\"url\":\"https:\/\/www.folio3.com\/mobile\/blog\/author\/msaqlain\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to implement\u00a0Tree Shaking in React","description":"Best tips to implement Tree Shaking in React in order to Reduced size of application & improved performance plays an important role in success of a software.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/","og_locale":"en_US","og_type":"article","og_title":"How to implement\u00a0Tree Shaking in React","og_description":"Best tips to implement Tree Shaking in React in order to Reduced size of application & improved performance plays an important role in success of a software.","og_url":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/","og_site_name":"Mobile App Development Services","article_published_time":"2020-12-02T04:47:34+00:00","article_modified_time":"2020-12-09T06:46:49+00:00","og_image":[{"width":2560,"height":1288,"url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg","type":"image\/jpeg"}],"author":"msaqlain","twitter_card":"summary_large_image","twitter_misc":{"Written by":"msaqlain","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#article","isPartOf":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/"},"author":{"name":"msaqlain","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/d7e0ef02800a3f681aaafbd99d7a1c73"},"headline":"What is Tree Shaking and Implementation in React","datePublished":"2020-12-02T04:47:34+00:00","dateModified":"2020-12-09T06:46:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/"},"wordCount":597,"commentCount":0,"publisher":{"@id":"https:\/\/www.folio3.com\/mobile\/#organization"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage"},"thumbnailUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg","articleSection":["React Native"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/","url":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/","name":"How to implement\u00a0Tree Shaking in React","isPartOf":{"@id":"https:\/\/www.folio3.com\/mobile\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage"},"thumbnailUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg","datePublished":"2020-12-02T04:47:34+00:00","dateModified":"2020-12-09T06:46:49+00:00","description":"Best tips to implement Tree Shaking in React in order to Reduced size of application & improved performance plays an important role in success of a software.","breadcrumb":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#primaryimage","url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg","contentUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/11\/Tree-Shaking-and-Implementation-in-React-scaled.jpg","width":2560,"height":1288,"caption":"Tree Shaking and Implementation in React"},{"@type":"BreadcrumbList","@id":"https:\/\/www.folio3.com\/mobile\/blog\/tree-shaking-implementation-in-react\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.folio3.com\/mobile\/"},{"@type":"ListItem","position":2,"name":"What is Tree Shaking and Implementation in React"}]},{"@type":"WebSite","@id":"https:\/\/www.folio3.com\/mobile\/#website","url":"https:\/\/www.folio3.com\/mobile\/","name":"Mobile App Development Services","description":"","publisher":{"@id":"https:\/\/www.folio3.com\/mobile\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.folio3.com\/mobile\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.folio3.com\/mobile\/#organization","name":"Mobile App Development Services","url":"https:\/\/www.folio3.com\/mobile\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/","url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png","contentUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png","width":210,"height":50,"caption":"Mobile App Development Services"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/d7e0ef02800a3f681aaafbd99d7a1c73","name":"msaqlain","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b06cfd7df7ee148f3c3b752c732984c8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b06cfd7df7ee148f3c3b752c732984c8?s=96&d=mm&r=g","caption":"msaqlain"},"description":"A hardworking and dedicated individual, determined on the road to success, ever ready to take on challenges and accomplish what I set out to achieve.","sameAs":["https:\/\/www.linkedin.com\/in\/msaqlain\/","noc"],"url":"https:\/\/www.folio3.com\/mobile\/blog\/author\/msaqlain\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5274"}],"collection":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/comments?post=5274"}],"version-history":[{"count":4,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5274\/revisions"}],"predecessor-version":[{"id":5369,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5274\/revisions\/5369"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/media\/5341"}],"wp:attachment":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/media?parent=5274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/categories?post=5274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/tags?post=5274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}