React Native + Expo + Redux – _react.default.memo is not a function

As of early June 2019 using the latest version of Expo, I’m not able to use Redux as I’m getting this error memo is not a function when trying to use connect. Spoiler, it is because Expo is using a slightly behind forked version of React Native, thus, causing compatibility issues.

The quick fix would be to use an older version of react-redux package, the 6.0.0 version. Using the latest redux package seems to work just fine.

yarn add react-redux@6.0.0

That’s it!

Posted in React Native | Tagged , | Leave a comment

Using Base64 encode/decode in a React Native/Expo app

I can’t believe that I can’t easily encode and decode Base64 string in React Native without pulling my hair. I’m using Expo to manage my development workflow and it even adds more confusion. Thankfully, a little trick saves me from … Continue reading

Posted in React Native | Tagged , | Leave a comment

First Metro Securities Change Password Issue

When I tried to login to First Metro Securities today, it says that my password already expired and won’t let me log in. I think I went to the classic version and tried to login too but when I changed … Continue reading

Posted in Investments | Tagged | Leave a comment

React/Expo Uses the Incorrect IP Address in Windows 10

My setup is in a Windows 10 machine with VirtualBox installed with a Host Only Network added by VirtualBox. Every time I run expo start it always picks up the VirtualBox network adapter instead of my machine’s Ethernet adapter. Without … Continue reading

Posted in React | Tagged , | Leave a comment

TypeScript – URLSearchParams iterator typing issue

In a certain React course in Udemy, I encountered an issue on React and Typescript where an iterator does not work the way it is shown in the course and this is probably because the course is not written in … Continue reading

Posted in React, TypeScript | Leave a comment

React + Redux – Component not exported or Redux not connected

Hey there, I’m a React and Redux newbie and the annoying issue I’ve encountered is when you connect a component to Redux but the actions are not injected into the component’s props. When you follow the tutorial, it seems straightforward … Continue reading

Posted in React, Web Development | Tagged | Leave a comment

VirtualBox 6 Ubuntu 16.04 Guest Upgrade to 18.04 – Shared Folder Not Working

Today, I finally decided to upgrade my local Ubuntu 16.04 VM to Ubuntu 18.04 which is the latest LTS version. Everything seem to be working just fine when I realized that the shared folders are not automatically mounted anymore. Update: … Continue reading

Posted in Linux | Tagged | Leave a comment

My Trading Profile: Swing Trading

Last year, before I even started actual trading, I already started studying swing trading and my first three months perhaps is more about swing trading. As I go along the journey, I learned new techniques, tried them and failed miserably, … Continue reading

Posted in Stock Trading | Tagged | Leave a comment

Docker Networking – Prevent External Access to your exposed ports

I have this problem wherein my MySQL server running in a Docker container is accessed outside the host which is a small VPS. I know because when I view the Docker logs for that MySQL container, it shows a lot … Continue reading

Posted in Database, Docker, MySQL | Leave a comment

DOM Selection/Query without jQuery

I think I’m way so outdated from the modern HTML/CSS/JavaScript world already due to working with classic libraries and tools for a very long time. As I view a Facebook Group members list, I wonder if some of the members … Continue reading

Posted in JavaScript, Web Development | Leave a comment