custom widget in create-react-app not seeing view changes

636
1
02-15-2021 05:56 PM
by Anonymous User
Not applicable

Hello All,

I have a create-react-app application into which I've added the Recenter demo widget  (with minor changes to use ESM).  The widget loads but doesn't seem to get notified of changes in view after loading.  I'm wondering if this is because the widget, along w/ the rest of the ArcGIS JSAPI code, is loading in a useEffect hook.  If this is indeed the problem, can someone suggest a work around?

Thanks!

--john

 

 

 

Tags (3)
0 Kudos
1 Reply
Ranga_Tolapi
Occasional Contributor III

Hi John,

Any luck?

0 Kudos