Author Archives: paradite

Guide on How to Test React Apollo components with Enzyme

Testing React Apollo components with Enzyme

Despite its popularity, React Apollo client has no good documentations on how to do testing for React Apollo components with Enzyme.

The only documentation that I found online for testing React Apollo component is a comment from React Apollo team on GitHub, and it is not using Enzyme.

So how do you test React Apollo components with Enzyme? And perhaps more importantly how do you get access to the inner component wrapped by React Apollo as a higher-order component (HOC) to mock its functions and verify its behaviours? Continue reading

Touchpal keyboard alternative with slidedown for symbols - Multiling O

Touchpal keyboard alternative with slide down for symbols – Multiling O

Touchpal keyboard alternative

So you’ve been an Android user for several years and Touchpal keyboard seems to the best Android keyboard out there, with its killer feature – swiping down to input symbols. You can’t live without that feature, but you really hate the annoying ads in Touchpad that was recently introduced. Luckily, I’ve found the near perfect Touchpal keyboard alternative for you – Multiling O Keyboard. Continue reading