<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Start up with javascript API 4.X in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371448#M83375</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/281637"&gt;@Egge-Jan_Pollé&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/386769"&gt;@vijaybadugu&lt;/a&gt;&amp;nbsp;As per my experience in migrating from 3.X to 4.X lots of new libraries added and some libraries are deprecated so may required to resolve custome widgtes one by one.&lt;/P&gt;&lt;P&gt;Now my question to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/281637"&gt;@Egge-Jan_Pollé&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp;I am using NextJS with latest ArcGIS Core 4.28 and facing performance issue in production enviornment, its taking to much time to loading the library. When i checking chrome inspect --&amp;gt; Network tab showing some files are calling from "&lt;A href="https://js.arcgis.com" target="_blank"&gt;https://js.arcgis.com&lt;/A&gt;"?&lt;/P&gt;&lt;P&gt;How to resolve this because in production enviornment client is not allowing other third party URLs&amp;nbsp; &amp;nbsp;?&lt;/P&gt;&lt;P&gt;How to improve the performance?? Can you please please some github link using NexTJS(latest) and ArcGIS Core (Latest) where everything is calling from own server ?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;Below arcgis map libraries want to use.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import ArcGISMap from "@arcgis/core/Map";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import MapView from "@arcgis/core/views/MapView";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import Legend from "@arcgis/core/widgets/Legend";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import TileLayer from "@arcgis/core/layers/TileLayer";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 18 Jan 2024 05:30:52 GMT</pubDate>
    <dc:creator>SaurabhUpadhyaya</dc:creator>
    <dc:date>2024-01-18T05:30:52Z</dc:date>
    <item>
      <title>Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371050#M83361</link>
      <description>&lt;P&gt;I have worked extensively with 3.x version of it. as part of migration process, I would like to start developing apps in a newer version of arcgis JavaScript 4.x.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest&amp;nbsp; where can I start it from ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 16:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371050#M83361</guid>
      <dc:creator>vijaybadugu</dc:creator>
      <dc:date>2024-01-17T16:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371084#M83363</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/386769"&gt;@vijaybadugu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you seen this page already?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/migrating/" target="_blank"&gt;Migrating from 3.x to 4.28 | Overview | ArcGIS Maps SDK for JavaScript 4.28 | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here an overview is provided for developers like yourself, with knowledge of and experience with the 3.x API, looking to migrate to 4.x.&lt;/P&gt;&lt;P&gt;Most important message here, as far as I am concerned:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Consider rewriting applications instead of simply trying to update them.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;And if you have any more specific challenges, this community is there to help. Always.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Egge-Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 17:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371084#M83363</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2024-01-17T17:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371088#M83364</link>
      <description>&lt;P&gt;I am developing a new production web application for a department.&amp;nbsp; do I need to use any framework or develop simply using legacy JavaScript development (AMD)&amp;nbsp; did for 3.X?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 17:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371088#M83364</guid>
      <dc:creator>vijaybadugu</dc:creator>
      <dc:date>2024-01-17T17:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371094#M83365</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/386769"&gt;@vijaybadugu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I am developing a new production web application for a department.&amp;nbsp; do I need to use any framework or develop simply using legacy JavaScript development (AMD)&amp;nbsp; did for 3.X?&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No frameworks are necessary. You can develop everything in your JavaScript Maps SDK 4.x app with plain, vanilla JavaScript. Although Esri notes on &lt;A href="https://developers.arcgis.com/javascript/latest/amd-build/" target="_self"&gt;building with AMD&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;H6&gt;&lt;SPAN&gt;For new projects integrating the API into third party frameworks or build tools we recommend using local builds with&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/es-modules/" target="_blank" rel="noopener"&gt;@arcgis/core&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ES modules.&lt;/SPAN&gt;&lt;/H6&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You should &lt;A href="https://developers.arcgis.com/javascript/latest/es-modules/" target="_self"&gt;build with ES Modules&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Apparently esri-loader will be going away with the next release (4.29).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heads-up-esri-loader-is-deprecated-in-4-29-of-the/m-p/1370920#M83354" target="_blank"&gt;heads up: esri-loader is deprecated in 4.29 of the... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 17:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371094#M83365</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2024-01-17T17:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371141#M83367</link>
      <description>&lt;P&gt;Yes, as&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp;suggests, you should really consider, while you are already migrating from 3.x to 4.x, to also leave the legacy AMD modules, with their &lt;EM&gt;require()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;statement, behind and switch to ES Modules instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For a quick comparison between AMD and ES, you might have a look at this blog post by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;:&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-api-for-javascript-working-with-frameworks-and-build-tools-just-got-easier-part-2/" target="_blank"&gt;ArcGIS API for JavaScript – Working with frameworks and build tools just got easier – Part 2 (esri.com).&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And sample apps, provided by Esri, ae available here:&amp;nbsp;&lt;A href="https://github.com/Esri/jsapi-resources/tree/main/esm-samples" target="_blank"&gt;jsapi-resources/esm-samples at main · Esri/jsapi-resources · GitHub&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 18:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371141#M83367</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2024-01-17T18:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371448#M83375</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/281637"&gt;@Egge-Jan_Pollé&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/386769"&gt;@vijaybadugu&lt;/a&gt;&amp;nbsp;As per my experience in migrating from 3.X to 4.X lots of new libraries added and some libraries are deprecated so may required to resolve custome widgtes one by one.&lt;/P&gt;&lt;P&gt;Now my question to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/281637"&gt;@Egge-Jan_Pollé&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp;I am using NextJS with latest ArcGIS Core 4.28 and facing performance issue in production enviornment, its taking to much time to loading the library. When i checking chrome inspect --&amp;gt; Network tab showing some files are calling from "&lt;A href="https://js.arcgis.com" target="_blank"&gt;https://js.arcgis.com&lt;/A&gt;"?&lt;/P&gt;&lt;P&gt;How to resolve this because in production enviornment client is not allowing other third party URLs&amp;nbsp; &amp;nbsp;?&lt;/P&gt;&lt;P&gt;How to improve the performance?? Can you please please some github link using NexTJS(latest) and ArcGIS Core (Latest) where everything is calling from own server ?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;Below arcgis map libraries want to use.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import ArcGISMap from "@arcgis/core/Map";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import MapView from "@arcgis/core/views/MapView";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import Legend from "@arcgis/core/widgets/Legend";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import TileLayer from "@arcgis/core/layers/TileLayer";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Jan 2024 05:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371448#M83375</guid>
      <dc:creator>SaurabhUpadhyaya</dc:creator>
      <dc:date>2024-01-18T05:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371567#M83381</link>
      <description>&lt;P&gt;Could this be useful?&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/building-arcgis-api-for-javascript-apps-with-nextjs/" target="_blank" rel="noopener"&gt;Building ArcGIS API for JavaScript Apps with NextJS (esri.com)&lt;/A&gt;. It comes with the&amp;nbsp;&lt;SPAN&gt;source code for the application in this blog post on&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/odoe/jsapi-nextjs" target="_blank" rel="noopener"&gt;github&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 12:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1371567#M83381</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2024-01-18T12:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1372986#M83420</link>
      <description>&lt;P&gt;Great question&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/386769"&gt;@vijaybadugu&lt;/a&gt;. In addition to the really good information already provided, I would also highlight the Tutorials and Blogs for 4x that can really show great insight and useful tips.&lt;/P&gt;&lt;P&gt;Tutorials&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/tutorials/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/tutorials/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Blogs&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/blogs/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/blogs/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 16:39:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1372986#M83420</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2024-01-22T16:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1373329#M83427</link>
      <description>&lt;P&gt;I tried this code but this code is 2 Yrs old and many libraries are not available in 4.28 with latest version of NextJS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone some sample code using 4.28 please share.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 06:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1373329#M83427</guid>
      <dc:creator>SaurabhUpadhyaya</dc:creator>
      <dc:date>2024-01-23T06:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1390025#M83835</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/198170"&gt;@SaurabhUpadhyaya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Relax, enclosed the&amp;nbsp;&lt;A title="https://github.com/odoe/jsapi-nextjs" href="https://github.com/odoe/jsapi-nextjs" target="_blank" rel="noopener"&gt;jsapi-nextjs&lt;/A&gt; sample code upgraded to @arcgis/core version&amp;nbsp;4.29.3, for you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Steps to follow to extract the attached zip file.&lt;/EM&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;EM&gt;Extract contents (jsapi-nextjs.txt) from the attached jsapi-nextjs.zip file using &lt;STRONG&gt;password&lt;/STRONG&gt; (that's the password)&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Rename the extracted file (jsapi-nextjs.txt) extension from .txt to .zip&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Extract jsapi-nextjs.zip for the upgraded source code.&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sun, 03 Mar 2024 16:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1390025#M83835</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2024-03-03T16:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Start up with javascript API 4.X</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1391016#M83857</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10933"&gt;@Ranga_Tolapi&lt;/a&gt;&amp;nbsp;Thank you sir.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 10:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/start-up-with-javascript-api-4-x/m-p/1391016#M83857</guid>
      <dc:creator>SaurabhUpadhyaya</dc:creator>
      <dc:date>2024-03-05T10:46:21Z</dc:date>
    </item>
  </channel>
</rss>

