Skip to content

Instantly share code, notes, and snippets.

View Pirsanth's full-sized avatar
👔
React Native

Pirsanth V Maslamani Pirsanth

👔
React Native
View GitHub Profile
@Pirsanth
Pirsanth / howToMakeRNLoadDependenciesFromACustomPath.md
Last active June 22, 2021 13:27
How to make React Native load dependencies from a custom path instead of node_modules

How to make React Native load dependencies from a custom path instead of node_modules

I've been a react-native developer for about one and a half years now. I have only recently begun reading some of react-native-community/cli's source code in preparation of becoming an open source contributor. In the process of doing so, I have found ways of alleviating a few common pain points for me when developing with react-native. This gist will deal with one such pain point, as per the title above and is a part of a larger series of such posts.

Story time

Link to the github example project

Working at my last company, eventually we had to make modifications to the native code of some of the third party react-native libraries we used. We needed to share these modifications (of files under node_modules) to the entire react-native

@Pirsanth
Pirsanth / run2DifferentReactNativeAppsOn2DifferentEmulatorsOrDevicesAtTheSameTime.md
Last active December 28, 2023 03:26
How to run 2 different react native apps on 2 different emulators/devices at the same time

How to run 2 different react native apps on 2 different emulators/devices at the same time

I've been a react-native developer for about one and a half years now. I have only recently begun reading some of react-native-community/cli's source code in preparation of becoming an open source contributor. In the process of doing so, I have found ways of alleviating a few common pain points for me when developing with react-native. This gist will deal with one such pain point, as per the title above and is a part of a larger series of such posts.

Story time

Click here to view a higher resolution version of the above gif (Github's Camo only allows gifs smaller than 5 megabytes)

For a project at my last company, we has two separate apps one that was the admin version of the app and another that was the client version of the app with two seperate repos. Both versions of the app wor