Skip to content

Instantly share code, notes, and snippets.

View wsrast's full-sized avatar
💭
Full Stack JavaScript

Wesley Rast wsrast

💭
Full Stack JavaScript
  • Atlanta, GA
View GitHub Profile
@sonnysantino
sonnysantino / react-native-video+5.0.2.patch
Created June 7, 2020 12:05
react-native-video+5.0.2.patch
diff --git a/node_modules/react-native-video/android-exoplayer/build.gradle b/node_modules/react-native-video/android-exoplayer/build.gradle
index 5baf953..ae7a84e 100644
--- a/node_modules/react-native-video/android-exoplayer/build.gradle
+++ b/node_modules/react-native-video/android-exoplayer/build.gradle
@@ -23,7 +23,10 @@ android {
dependencies {
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
- implementation('com.google.android.exoplayer:exoplayer:2.9.3') {
+
@abhiaiyer91
abhiaiyer91 / reduxSelectorPattern.md
Last active April 29, 2022 06:00
Redux Selector Pattern

Redux Selector Pattern

Imagine we have a reducer to control a list of items:

function listOfItems(state: Array<Object> = [], action: Object = {}): Array<Object> {
  switch(action.type) {
    case 'SHOW_ALL_ITEMS':
      return action.data.items
    default:
@thejmazz
thejmazz / .babelrc
Created February 16, 2016 18:17
async/await with webpack+babel
{
"presets": ["es2015"],
"plugins": ["transform-async-to-generator"]
}