datamade / how-to

📚 Doing all sorts of things, the DataMade way
MIT License
81 stars 12 forks source link

Evaluate case for "little sites" written in vanilla JavaScript #195

Closed hancush closed 2 years ago

hancush commented 3 years ago

Background

ES6+ has added some really nice functionality that makes writing JavaScript more sensical and enjoyable than ever before. @fgregg implemented a single-page app to determine the historic ground cover in a user's area in vanilla JavaScript and HTML. Similarly, I really enjoyed the developer experience of the IHS displacement risk map, which is also vanilla JavaScript and HTML. "Little sites" provide a compelling opportunity to write and deploy small but mighty applications relatively quickly.

Proposal

Our JavaScript stack includes Gatsby for static sites and React components for more highly interactive elements. Is there a missing, simpler option for single-page apps? Let's develop our thoughts.

Deliverables

This R&D effort should examine the case for "little sites":

Timeline

I expect anyone on staff could draft a proposal in 1-2 days.

hancush commented 2 years ago

Started in hcg/lil-js: https://github.com/datamade/how-to/tree/hcg/lil-js

hancush commented 2 years ago

@derekeder will review the docs PR!