Skip to content

Instantly share code, notes, and snippets.

View azanli's full-sized avatar
🐼
Doing all the things that pandas do...

Andy Li azanli

🐼
Doing all the things that pandas do...
  • Rally Health
  • San Francisco
View GitHub Profile
@azanli
azanli / getFlatList.bash
Last active November 9, 2017 05:05 — forked from cooperka/getFlatList.bash
How to download FlatList and its related dependencies directly into your node_modules.
mkdir -p node_modules/react-native/Libraries/Lists/ && \
for file in 'FlatList' 'MetroListView' 'SectionList' 'VirtualizedList' 'VirtualizedSectionList' 'ViewabilityHelper' 'VirtualizeUtils' 'FillRateHelper'; \
do curl https://raw.githubusercontent.com/facebook/react-native/master/Libraries/Lists/${file}.js > node_modules/react-native/Libraries/Lists/${file}.js; \
done