It's All Writing.

Writing makes you happy.

Entries from 2019-11-01 to 1 month

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 get return value from then function at node

Environment node Code gist.github.com The value returned by the then function can be received in a variable with await.

How to retrive parent custom sobjects field value by SOQL at Apex

Environment Apex SOQL Premise Note that when retrieving parent SObject information with the child SObject's retriving query, it is necessary to receive the SOQL execution result in the SObject type. For example, if you do the following, yo…

How to custom react navigation's header options each screen which using HOC at React Native

Environment React Native React Navigation 4.x node Premise Typically, react navigation's header options are written in App.js. However, this is undesirable for two reasons: App.js gets bigger and more complex Knowledge specific to each scr…