Closed ranga-tolapi closed 9 months ago
Hi @odoe, for your attention...
As per Recenter custom widget with Vite... When using Vite 3, "useDefineForClassFields": false needs to be set in tsconfig.json. The ArcGIS JS API requires this setting for the widget's property binding to work.
arcgis-js-cli scaffolded applications currently have "useDefineForClassFields": true.
1. 2. 3. 4.
I may just remove the flag entirely, depending on if this functionality is deprecated.
Closing the issue and in preparation for deprecating the library. Plans are in the works for an eventual replacement.
Hi @odoe, for your attention...
As per Recenter custom widget with Vite... When using Vite 3, "useDefineForClassFields": false needs to be set in tsconfig.json. The ArcGIS JS API requires this setting for the widget's property binding to work.
Description
arcgis-js-cli scaffolded applications currently have "useDefineForClassFields": true.
Expected Behavior
Actual Behavior
Possible Fix
Steps to Reproduce
1. 2. 3. 4.
Context
Your Environment