Custom Widget 4.2. Which JS Framework is recommended for an UI widget?

1461
1
01-11-2017 02:46 PM
ChristianDiaz1
New Contributor

I have searched on the docummentation, and the provided examples did not use any JS Framework or not use any rendered component from dojo. Which should we use? There is a example of this on custom widget implementation?

Tags (2)
0 Kudos
1 Reply
ReneRubalcava
Frequent Contributor

4.2 introduced a new widget framework that you could use if you wanted to.

Widget development | ArcGIS API for JavaScript 4.2 

Besides that, UI development is completely up to you. We have a sample using Angular 2 and React.

The use of ViewModels and Accessor make it possible for you to build a UI in just about anything.

Here are some links off the top of my head.

Couple of Esri videos:

Choosing Frameworks - Home | Esri Video 

Using Frameworks - Home | Esri Video 

Other resources:

View Models in ArcGIS JS API - odoenet 

Custom Widgets in the ArcGIS API for JavaScript - odoenet 

GitHub - Esri/angular-esri-map: A collection of directives to help you use Esri maps and services in... 

GitHub - Esri/esri-system-js: Load ArcGIS API for JavaScript modules using SystemJS 

GitHub - Esri/calcite-maps: A theme for Bootstrap for designing, styling and creating modern map app... 

To summarize, there is a new widget framework that is part of 4.2 that you can use and I'm pretty excited about it! But the ability to build a UI in just about any other Framework of your choice is fairly straightforward as well.