Skip to content

Instantly share code, notes, and snippets.

View alexnewmannn's full-sized avatar

Alex Newman alexnewmannn

View GitHub Profile
// src/index.js
import createHistory from 'history/createBrowserHistory';
const intrinsicState = {};
const history = createHistory();
const store = configureStore(intrinsicState, history); // this includes the same shared history and also creates reducers, which includes the router ones
const locale = 'en';
store.dispatch({ type: 'SET_LANGUAGE',
@alexnewmannn
alexnewmannn / prcriteria.md
Last active August 29, 2015 14:24
PR Criteria

Please check the criteria below

  • Have you added to the recipe if needed?
  • Have you ran any recipe changes through http://kitchenjs.herokuapp.com?
  • Have you tested any changes locally?
  • Have you added links/content?
  • Does ticket match the acceptance criteria?
  • Does any of the code exist in base?
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->