News for hackers. Stuff that matters.
Re:Show HN: 1 KB JavaScript framework for building front-end... by mishkovski on Saturday September 16, 2017 @12:40PM (#15265375)
It is not a library. It is a framework. The distinction is important and whatever you choose influences how you test, develop and maintain your software. Libraries are slaves of your code. When you use libraries you have control. When you use a framework it is the opposite, you depend on the magic provided by it and ultimately you lose part of that control. The choice is clear for me.
Re:Show HN: 1 KB JavaScript framework for building front-end... by dang on Saturday September 16, 2017 @07:33PM (#15267337)
OK, we'll s/library/framework/ the above.
Re:Show HN: 1 KB JavaScript framework for building front-end... by jbucaran on Saturday September 16, 2017 @12:41PM (#15265382)
I like and agree a lot with this definition too. Thanks!
Re:Show HN: 1 KB JavaScript framework for building front-end... by okwolf on Saturday September 16, 2017 @01:17PM (#15265539)
One thing I like about the Hyperapp approach though is use of plain JavaScript objects and pure functions to build your app. This means that it's possible to only have a dependency on Hyperapp in one place as part of assembling the overall app.