As a beginner, can anyone tell me which is the best source to learn how the knockout js works in magento2?

I have tried learning from http://knockoutjs.com/ but it does not give the detailed idea for magento2 working.

You can also suggest the paid tutorials/videos, it would be fine for me.


3 Answers 3


KnockoutJs ebooks:

1) KnockoutJS by Example - I read this book. Really helpful.

2) Mastering KnockoutJS

Online Resources:

1) http://knockoutjs.com/

2) Stack Overflow

Magento Resource:





  • thanks, and these books have reference for magento2 or it just for learning knockout?
    – jas
    May 22, 2018 at 12:07
  • Just for learning knockout Js, but after reading and practice amazon.com/dp/B010T266UQ/?tag=stackoverflow17-20. I'm pretty sure you can play with Knockout Js in Magento. May 22, 2018 at 12:09
  • One more thing, no rush, we should keep calm and learn the basic knowledge about Knockout Js. May 22, 2018 at 12:15

You can use below resources to learn knockout js

For Magento 2 Prospective -



How to use Knockout JS within Magento 2


for advance learning :



Hope it helps.

  • thanks for the help, I have gone through all these links but it does not give the detailed explanation/learning, I want to lean from the basics using small tutorials like knockoutjs.com have but for magento2 specially.
    – jas
    May 22, 2018 at 12:04
  • For magento 2 prospective my first link is better. May 22, 2018 at 12:09

By following http://knockoutjs.com/ , you only learning knockout JS not magento2. If you need to learn knockout used in magento2 then you will have to learn checkout of magento2.

As, knockout used in magento-checkout, You will have to learn checkout component of magento2.

Research on that and also follow links suggested by @Dsmagento.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.