摘要:
In normal Javascript, we do undefine check or null check: Sometime backend data return may contain or not contain 'name' prop. So let's see how to def 阅读全文
摘要:
Well, this stuff will be a little bit strange if you deal with it first time. Container Object: Just a wrapper / contianer for values No Method No Nou 阅读全文
摘要:
In Angular 1.5 introduces "compoment" syntax. But ng-annotate doesn't understand ".compoment" syntax, that's why in min version, the code doesn't work 阅读全文
摘要:
Let's learn how to unit test your JavaScript with Jest, a JavaScript unit testing framework from Facebook. We'll install and optimize Jest for this pr 阅读全文
摘要:
Curry: The idea of Curry is to spreate the data from the function. Using Curry to define the function logic and later pass the data into the function 阅读全文
摘要:
var _ = R; /***************************************** C U R R Y I N G E X A M P L E ******************************************/ // We've got a nice multiply function. // It takes two argumen... 阅读全文
摘要:
Webpack will hot reload the component, but the reducer we need hard refresh. To sovle the problem, go to the store.js: We just need to config the 'red 阅读全文
摘要:
In this lesson, we look at one of the most powerful features in GIF Loop Coder, the phase property, which allows you to let different objects run anim 阅读全文