InBetter ProgrammingbyFarzad YZ·Dec 25, 2019How To Detect Unique Arrays in JavaScriptSets, multiple types of loops, and moreA response icon1A response icon1
Farzad YZ·Aug 12, 2019useBackButton hook to handle back button behavior in React NativeReact hooks help with carrying stateful logic and keeping their lifecycle separate from the view layer lifecycle. They’ve been around…A response icon3A response icon3
Farzad YZ·Nov 3, 2017Unit Testing Higher-Order Components with Enzyme and JestNot all the components you write for your React application can be divided into Stateful and Stateless (dumb) categories. There is a 3rd…A response icon5A response icon5
Farzad YZ·Oct 1, 20173 Ways to clone objects in JavaScriptCloning an object in JavaScript a task that is almost always used in any project, to clone everything from simple objects to the most…A response icon14A response icon14
Farzad YZ·Sep 18, 2017Handle loadings in React by using Higher Order ComponentsBefore you read this article, read React’s official document on HOCs if you haven’t read it yet.A response icon6A response icon6
Farzad YZ·Jan 22, 2017Manage and Promisify async actions in javascriptjavascript is different from other languages. Programmers from other languages once entering the javascript era might get confused easily…
Farzad YZ·Dec 28, 2016Cross-Domain Iframe-parent communicationFair warning: This solution worked for the certain use case explained in the article back in 2016, the same date this very article was…A response icon16A response icon16