This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |