Live data from Hacker News

Ditch React. Ditch Angular. Go Vanilla with Zam

zamjs.com

1–10 of 29 posts

Re: Ditch React. Ditch Angular. Go Vanilla with Zam

#4
post #2

Why are the methods you provide better than the existing document methods? Also why is the AJAX method better than fetch?

Zam's methods are overall document methods. For example: .each() and .addStyle()

Things get a little more complex with some of the methods though. For example: .css()

Fetch is only faster on certain browsers. I'm thinking about incorporating it in the future.

Re: Ditch React. Ditch Angular. Go Vanilla with Zam

#9
post #8

Genuine question: in 2017, why would you create a JS framework that didn't use futures? eg in the documentation, ".fadeIn(selector, time)" - "Returns nothing". Why not return a future that resolves when the fade completes?

From a performance stand point -- does it really matter?

You are right. fadeIn and fadeOut should have some optional callback for completion.

Post reply on HN