Skip to content

Instantly share code, notes, and snippets.

View jordanmkoncz's full-sized avatar

Jordan Koncz jordanmkoncz

  • Digital Creators
  • Sydney, Australia
View GitHub Profile
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@jordanmkoncz
jordanmkoncz / .react-navigation iOS 11 Navigation Bar with Large Title
Last active May 9, 2022 16:21
react-navigation iOS 11 Navigation Bar with Large Title
#
@jordanmkoncz
jordanmkoncz / Profile.js
Created September 4, 2019 04:50
Apollo Client Hooks + Hasura
import React from "react";
import { useSubscription, useQuery } from "@apollo/react-hooks";
import gql from "graphql-tag";
const PROFILE_QUERY = gql`
query Profile($id: String!) {
Person(where: { id: { _eq: $id } }) {
id
firstName
lastName
@jordanmkoncz
jordanmkoncz / auth-interceptor.service.js
Last active October 28, 2015 12:50
Avoid AngularJS circular dependency error when using $state in a HTTP interceptor
angular
.module('app')
.factory('AuthInterceptor', AuthInterceptor);
function AuthInterceptor($injector, $q) {
var $state;
var service = {
responseError: responseError
};