It's All Writing.

Writing makes you happy.

reduce

How to implement summation and product with recursion or reduce at node

Environment node Code Recursion gist.github.com Reduce gist.github.com Note Typically, reduce is faster than recursion, and more simple.

How to navigate between different nested stacks in React Navigation

Environment React Native React Navigation ( react-navigation ) lodash Prerequisites If we have the following Navigator structure: ScreenA ScreenB ScreenC ScreenD TabScreenA StackScreenA StackScreenB TabScreenB StackScreenC StackScreenD Tab…