Steve MaoDo not use anonymous functions to construct React functional componentsWe strive to keep our code as concise as possible. If we need a stateless component, its recommended to use a simple functional component…Mar 5, 20172Mar 5, 20172
Steve MaoHidden recursionWhat is this pattern? What is the flag doing here? The key part is in “do something”: it may call foo() again! So this is saying “if I am…Sep 25, 20161Sep 25, 20161
Steve MaoI’ve always wanted to write a blog post but writing is definitely not my thing.I have never been a good student at uni. I was struggling with graduating, getting a job, getting my residency in Australia. The…Sep 25, 20161Sep 25, 20161