Steve Mao·Mar 5, 2017Do 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…A response icon2A response icon2
Steve Mao·Sep 25, 2016Hidden 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…A response icon1A response icon1
Steve Mao·Sep 25, 2016I’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…A response icon1A response icon1