Writing JavaScript without a build system

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • htmx

    </> htmx - high power tools for HTML

  • > I’d love more tips for no-build-system javascript

    1. MDN has a comprehensive guide on JavaScript modules [0]

    2. A build system free way to build interactive websites could be to combine libraries like htmx[1] and or lit[2] or just the sub package lit-html[3]. Or just go with native web components and a bit of AJAX.

    [0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guid...

    [1] https://github.com/bigskysoftware/htmx

    [2] https://github.com/lit/lit

    [3] https://github.com/lit/lit/tree/main/packages/lit-html

  • unpkg

    The CDN for everything on npm

  • Great she mentioned https://unpkg.com/ which is a great place to start.

    Import maps are also worth exploring. Documentation isn't great but I've managed to ditch npm on some side projects and use import maps and CDNs instead. Worth it for small projects without a doubt.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • lit

    Lit is a simple library for building fast, lightweight web components.

  • > I’d love more tips for no-build-system javascript

    1. MDN has a comprehensive guide on JavaScript modules [0]

    2. A build system free way to build interactive websites could be to combine libraries like htmx[1] and or lit[2] or just the sub package lit-html[3]. Or just go with native web components and a bit of AJAX.

    [0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guid...

    [1] https://github.com/bigskysoftware/htmx

    [2] https://github.com/lit/lit

    [3] https://github.com/lit/lit/tree/main/packages/lit-html

  • es-module-shims

    Shims for new ES modules features on top of the basic modules support in browsers

  • fast

    The adaptive interface system for modern web experiences.

  • I just want to point out there is a great alternative from Microsoft called `fast-design`[0] which provides a more fleshed out experience than Lit does, in terms of out of the box components.

    It does have lower level packages if you don't want ready made components too

    [0]: https://www.fast.design/

  • dlite

    A tiny, blazing fast view library that creates reactive Web Components (by adamghill)

  • intercooler-js

    Making AJAX as easy as anchor tags

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • idiomorph

    A DOM-merging algorithm

  • buildless-vuejs

  • I resonate with this topic. Checking your own repos on a new computer is one thing… inheriting someone else’s project and running it on your machine in the node ecosystem is very rough.

    Anyways, I made a slightly more advanced buildless vue project here: https://github.com/kyleparisi/buildless-vuejs

    It has the advantage of using .vue files which I enjoy. Oh and guess what… it has code splitting because you have to define what components the page needs ;).

  • tachyons

    Functional css for humans

  • Tachyons is a similar utility class framework, and a lot smaller at somewhere under 20kb, IIRC.

    https://tachyons.io/

  • create-react-app-zero

    All of Create React App, none of the dependencies

  • https://github.com/jsebrech/create-react-app-zero

  • widgets

    JavaScript widgets, including the Pin It button. (by pinterest)

  • No build system was ever used in the making of Pinterest's widgets:

    https://github.com/pinterest/widgets

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Starting a Side Hustle/Side Project in 2024.

    1 project | dev.to | 6 May 2024
  • Preline UI + Gowebly CLI = ❤️

    2 projects | dev.to | 25 Apr 2024
  • Finding a Path As a Self-Taught Software Developer

    3 projects | dev.to | 19 Apr 2024
  • Free Bootstrap Themes and Templates to Download in 2024

    1 project | dev.to | 18 Apr 2024
  • Front End Interview Handbook

    1 project | news.ycombinator.com | 16 Apr 2024