Skip to content

Instantly share code, notes, and snippets.

View potterman69's full-sized avatar
🥱
Vibing

Potter Man potterman69

🥱
Vibing
View GitHub Profile
@dabit3
dabit3 / AppDelegate.m
Created May 16, 2017 18:03
Deep Linking Your React Native App Final AppDelegate
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h"
@paulsturgess
paulsturgess / service.js
Last active February 2, 2024 17:24
An example Service class wrapper for Axios
import axios from 'axios';
class Service {
constructor() {
let service = axios.create({
headers: {csrf: 'token'}
});
service.interceptors.response.use(this.handleSuccess, this.handleError);
this.service = service;
}