Skip to content

Instantly share code, notes, and snippets.

View sbonami's full-sized avatar

Scott BonAmi sbonami

  • AbleTo, Inc.
  • Orlando, FL
View GitHub Profile
@sbonami
sbonami / index.js
Created October 12, 2018 16:44
Redux Interaction tracking with React Profiling & Interaction APIs
import { createStore, combineReducers, applyMiddleware } from 'redux';
import reactProfilerMiddleware from './react-profiler-redux';
const todoApp = combineReducers(reducers)
const store = createStore(
todoApp,
// applyMiddleware() tells createStore() how to handle middleware
applyMiddleware(reactProfilerMiddleware)
)

Keybase proof

I hereby claim:

  • I am sbonami on github.
  • I am sbonami (https://keybase.io/sbonami) on keybase.
  • I have a public key ASDXG4C47YLL9VNmunzqCyQozSELwS26O1SoYWp1UJdLVgo

To claim this, I am signing this object:

@sbonami
sbonami / gist:9499467
Created March 12, 2014 02:20
Parse/OmniAuth Integration

Required Gems:

  • parse_resource
  • omniauth_facebook
  • koala
class SessionController < ApplicationController
  def create
    user = User.from_omniauth(env["omniauth.auth"])