Skip to content

Instantly share code, notes, and snippets.

View henrymoulton's full-sized avatar

Henry Moulton henrymoulton

View GitHub Profile
import React from 'react';
import {View, Dimensions} from 'react-native';
import Animated, {
useAnimatedScrollHandler,
useAnimatedStyle,
useSharedValue,
} from 'react-native-reanimated';
const BORDER_RADIUS = 10;
@henrymoulton
henrymoulton / FastList.tsx
Created June 2, 2021 09:51 — forked from derekstavis/FastList.tsx
Discord's FastList, but in TypeScript
import { forEachObjIndexed } from "ramda";
import * as React from "react";
import {
Animated,
ScrollView,
View,
ViewStyle,
LayoutChangeEvent,
NativeScrollEvent,
} from "react-native";
┌──────────────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┐
│ package name │ old version(s) │ new version(s) │
├──────────────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┤
│ @babel/code-frame │ [..., 7.12.13], 7.12.11 │ [...], 7.12.13 │
├──────────────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┤
│ @babel/compat-data │ 7.13.12 │ 7.14.0 │
├──────────────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┤
│ @babel/core │ 7.13.10
#import "AppDelegate.h"
#import <CodePush/CodePush.h>
#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import "Firebase.h"
#import <RNCPushNotificationIOS.h>
#import "RNBootSplash.h"
#import "RNNotifications.h"