Hi,
I'm having a hard time figuring how to import "view" from "@arcgis/core/views/View" to use the `view.whenLayerview()` function` while trying to refactor the code to use WebPack.
I am getting the following error:
uncaught TypeError: _arcgis_core_views_View__WEBPACK_IMPORTED_MODULE_0__.whenLayerView is not a function
I have also tried using "import * as view from @arcgis/core.views/View" but that didn't help.
Thanks for your replies !