Skip to content

Instantly share code, notes, and snippets.

View daveham's full-sized avatar

Dave Hamilton daveham

View GitHub Profile
@daveham
daveham / index.js
Created February 13, 2020 20:09
My animation attempt at TextNumbers/index.js
// External Dependencies
import { ActivityIndicator, Divider } from 'react-native-paper';
import { Animated, StyleSheet, View } from 'react-native';
import { DrawerItems } from 'react-navigation-drawer';
import { NavigationContext } from 'react-navigation';
import React, { useContext, useEffect, useRef, useState } from 'react';
import { useSelector, useDispatch } from 'react-redux';
// Internal Dependencies
import { changeParamsConversations } from '../state/conversations/actions';
@daveham
daveham / challenge-api.js
Last active March 2, 2020 19:49
Hint for accessing meetup.com API for Call-Em-All coding challenge.
import axios from 'axios';
const base = 'https://cors-anywhere.herokuapp.com/https://api.meetup.com';
// Note that these samples do not yet include any error handling.
export const fetchEvents = (group) =>
axios.get(`${base}/${group}/events`);
export const fetchEvent = (group, eventId) =>
axios.get(`${base}/${group}/events/${eventId}`);
### Keybase proof
I hereby claim:
* I am daveham on github.
* I am daveham (https://keybase.io/daveham) on keybase.
* I have a public key ASASKTfwUnweVO4Gj8Tnhp3PvP6YpmrNzqgmWzSbSBMYIQo
To claim this, I am signing this object: