Skip to content

Instantly share code, notes, and snippets.

View flimble's full-sized avatar

John Fattal flimble

View GitHub Profile
@flimble
flimble / reanimated-slider-example
Created December 14, 2019 19:32
react native reanimated slider - how to preserve position between renders
import React from 'react';
import { View, Dimensions } from 'react-native';
import { PanGestureHandler, State } from 'react-native-gesture-handler';
import Animated from 'react-native-reanimated';
const { cond, eq, add, call, set, Value, event, diffClamp, divide, round, useCode, or, multiply } = Animated;
const { width } = Dimensions.get('window');
const containerWidth = width - 120;
import Style from '../styles/Style';
# http://boxstarter.org/package/url?
#####################
# BEGIN CONFIGURATION
#####################
#region Initial Windows Config
Install-WindowsUpdate -AcceptEula
Update-ExecutionPolicy Unrestricted