Skip to content

Instantly share code, notes, and snippets.

View abdullahizzuddiin's full-sized avatar

Abdullah Izzuddiin Alqassam abdullahizzuddiin

View GitHub Profile
@abdullahizzuddiin
abdullahizzuddiin / LoginPage.js
Created December 21, 2020 07:14
Login.js file for Formik Learning tutorial
const LoginPage = () => {
const [email, setEmail] = useState('');
const [password, setPassword] = useState('');
const [error, setError] = useState({});
const validateForm = () => {
const error = {};
let anyError = false;
if (!email) {
@abdullahizzuddiin
abdullahizzuddiin / apk-size-by-rn-check.md
Created December 19, 2020 07:36
Did RN 0.62+ really bring bigger apk size?

Based on this issue, RN 0.62+ generated bigger apk size. On this gist, I tried to documenting my experiment about this case.

  1. Create 3 apps differentiated by RN version used: 0.61.5 (latest on 0.61.+), 0.62.2 (latest on 0.62.+), and 0.63.4 (latest on 0.63.4)
npx react-native init RN061 --version 0.61.5
npx react-native init RN062 --version 0.62.2
npx react-native init RN063 --version 0.63.4
  1. Build release app on each apps