This is a Single Page App (SPA) using a Web Component Library I created. It uses data from a Geographic Database to countries, regions, cities, in the World.
If you’re not familiar with Web Components here is a good overview article from Mozilla on how to use them:
Basically it allows for creating custom HTML elements from JavaScript. In this case I developed components that allow for viewing of data from JSON web services and binding to other components on screen.
For comparison the main page has links to React, Vue and other versions of the same app as I developed similar React Components and standard JavaScript.
1 comment
[ 2.8 ms ] story [ 14.9 ms ] threadIf you’re not familiar with Web Components here is a good overview article from Mozilla on how to use them:
https://developer.mozilla.org/en-US/docs/Web/Web_Components
Basically it allows for creating custom HTML elements from JavaScript. In this case I developed components that allow for viewing of data from JSON web services and binding to other components on screen.
Here is the GitHub Source:
https://github.com/dataformsjs/dataformsjs/blob/master/examp...
For comparison the main page has links to React, Vue and other versions of the same app as I developed similar React Components and standard JavaScript.
https://www.dataformsjs.com/