DEV Community

Discussion on: Making Sense of the JS Framework Benchmark

Collapse
 
lesismal profile image
lesismal

I really don't like frameworks with v-dom. I am focusing on server-side development most of the time, frameworks such as react and vue who lead to a saying that "the frontend is too difficult to learn", and they make me feel really sucks when I plan to write some frontend code.
vanilla js is enough, we just need to choose a UI framework, and pay more attention to project management.
I write pm.js which is a simple tool to help managing projects and build SPA. I hope guys aware that there is no need to use any v-dom framework at all.
pm.js is here:
github.com/lesismal/pm

I also forked a bootstrap-admin-template, then rewrite it using pm.js in a vanilla way, the performance was greatly improved compared with the original one, see them here:
origin repo:
github.com/adminkit/adminkit

repo using pm.js:
github.com/3rdrepo/adminkit

I'd be glad to receive suggestions from anybody

Collapse
 
ryansolid profile image
Ryan Carniato

Hmm... since the point of the comparison is to look at libraries that use this declarative form (not necessarily the VDOM) I fear this probably falls on deaf ears. It is possible to not use declarative frameworks for sure, but people like them because they abstract away change management.

It also is interesting to consider the counter scenario that if declarative libraries are pulling in performance close to VanillaJS, it might have never been a better time to try them out.

Collapse
 
lesismal profile image
lesismal

I agree with you, I just don't wanna waste too much time learning more and more new features...