<?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 Clarification needed: import from @arcgis/core node modules in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clarification-needed-import-from-arcgis-core-node/m-p/1554237#M86009</link>
    <description>&lt;P&gt;I am working in Experience Builder Developer Edition version 1.14 and have written some custom widgets.&lt;BR /&gt;&lt;BR /&gt;Can someone point me to documentation or give me an explanation of the difference between formats for my module imports? I am confused about the difference between these two examples:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import * as query from "@arcgis/core/rest/query.js";
import query from "esri/rest/query";&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Until recently I was using the example on line 2, but opened up my code today and Visual Studio Code was flagging it as an error. I substituted line 1 and that seems to be working fine. What is the difference, and why did this suddenly change when I was not getting any error previously?&lt;BR /&gt;&lt;BR /&gt;As far as I know, ExB version 1.14 is using the Javascript SDK version 4.29.&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 14:09:37 GMT</pubDate>
    <dc:creator>EMiller_2</dc:creator>
    <dc:date>2024-10-31T14:09:37Z</dc:date>
    <item>
      <title>Clarification needed: import from @arcgis/core node modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clarification-needed-import-from-arcgis-core-node/m-p/1554237#M86009</link>
      <description>&lt;P&gt;I am working in Experience Builder Developer Edition version 1.14 and have written some custom widgets.&lt;BR /&gt;&lt;BR /&gt;Can someone point me to documentation or give me an explanation of the difference between formats for my module imports? I am confused about the difference between these two examples:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import * as query from "@arcgis/core/rest/query.js";
import query from "esri/rest/query";&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Until recently I was using the example on line 2, but opened up my code today and Visual Studio Code was flagging it as an error. I substituted line 1 and that seems to be working fine. What is the difference, and why did this suddenly change when I was not getting any error previously?&lt;BR /&gt;&lt;BR /&gt;As far as I know, ExB version 1.14 is using the Javascript SDK version 4.29.&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 14:09:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clarification-needed-import-from-arcgis-core-node/m-p/1554237#M86009</guid>
      <dc:creator>EMiller_2</dc:creator>
      <dc:date>2024-10-31T14:09:37Z</dc:date>
    </item>
  </channel>
</rss>

