News for hackers. Stuff that matters.
Re:Alternative lightweight UI library to modern day frameworks by rajeev-k on Saturday January 16, 2021 @01:42PM (#25804277)
I have noticed newer generations of developers believe they need heavy frameworks like React to develop web applications. Most apps don't need such heavy frameworks. Here's a 500-line "framework" (if you can call it that) https://github.com/Rajeev-K/mvc-router and here's an example app built using it: https://github.com/Rajeev-K/eureka For templates I used https://github.com/wisercoder/uibuilder which is a 200-line lib. This is about as "close to the metal" as you can get, and still be productive.
Re:Alternative lightweight UI library to modern day frameworks by js4ever on Saturday January 16, 2021 @01:55PM (#25804403)
"Close to the metal" should not be used to talk about javascript ... I love js ... But let's be realistic, vanilla js is great but very far from metal
Re:Alternative lightweight UI library to modern day frameworks by pygy_ on Saturday January 16, 2021 @02:58PM (#25804958)
I like "bare plastic JavaScript" :-)
Re:Alternative lightweight UI library to modern day frameworks by rajeev-k on Saturday January 16, 2021 @02:07PM (#25804510)
By "metal" I meant the browser, so avoiding heavy libs.