Our great sponsors
-
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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This might be interesting to you: https://github.com/alpinejs/alpine/
I'd suggest to anybody wanting a thin wrapper over the DOM to just go with Cash [1] instead, which I maintain. Cash is largely a drop-in replacement for jQuery Slim at a significantly smaller size (~6kb vs ~24kb min+gzip).
The methods listed in youmightnotneedjquery.com are a little simplistic/buggy at time and not tested, if you just need a single method from jQuery it would probably be a better idea to simply copy/paste it from Cash.
[1]: https://github.com/fabiospampinato/cash
You can use a polyfill such as https://github.com/github/fetch.
You can use a polyfill such as https://github.com/developit/unfetch (500 bytes).
Yes. Or hyperscript as my parent posted. I'd love to see an example of preact with it.
But looking at the repo https://github.com/hyperhype/hyperscript I have a hard time imagining how preact can work together. They seem to overlap in functionality.