It's All Writing.

Writing makes you happy.

Entries from 2019-10-01 to 1 month

How to detect software keyboard visible state at React Native

Environment React Native react-native-keyboard-accessory NativeBase node Code gist.github.com If the software keyboard is visible ( when you'll input Textarea ), the Button is enabled. Otherwise, the Button is disabled. Typically, The timi…

How to provide utility functions for every components ( How to make HOC ( higher-order component ) ) at React Native

Environment React Native node Premise When there is a utility function you'd like to use in common during each components, you can do it easily via props by using HOC. Using common.js which provides common utility functions has the fault a…

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…

How to test multiple language test at Apex ( How to change using language dynamically in the test code )

Environment Apex Premise In the present, we must change test user language at m17n testing ( like label which have to change by using language ) because the method like getLabel('key', 'language') doesn't exist in Apex. So, dynamically cha…

How to detect leads which has the same name at Salesforce by node

Environment Salesforce node jsforce lodash Premise We can't solve this problem with using report. So, I'll show you the solution which using node ( with jsforce and lodash ). Code gist.github.com Code's Summary The summary of the process i…