3 ms·
Lib is EXTREMELY minimal. Only GET requests with anchor tags. That you can’t POST forms or send metadata make it mostly useless for anything but the most basic
by devmunchies 3y ago
Lib is EXTREMELY minimal. Only GET requests with anchor tags. That you can’t POST forms or send metadata make it mostly useless for anything but the most basic website.
I guess the creator will think about the minimal features to add in their remaining 50 LoC budget. (IMO a minimized KB target would be a better ceiling).
- breakfastduck 3y agoI mean, you can just write some code to post data to an API.
- devmunchies 3y agoIt's not about the POSTing. Its how you handle the response. The paradigm of this library is that you replace segments of the page with the response, which it doesn't support for POST requests.
- juancampa 3y agoIsn't that what <form> is for?
- djbusby 3y agoWas. for, "modern" things (libs, framework, etc) intercept these bog standard bits with their "magic" rebuilding to maybe 70% of what already worked.
- hombre_fatal 3y agoRefreshing the page to send an upvote isn’t peak UX.