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 { combineReducers, dispatch } from 'redux'; | |
import * as '_' from 'lodash'; | |
//globals: SubsManager | |
import { MyCollection } from './MyCollection'; | |
// queue initial data load, otherwise you could be making 1000s of pointless immutable objects | |
const queuedState = {}; | |
// watch changes to the collection. Save changes before ready to a queue, otherwise dispatch action on store |
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
<?php namespace Cavedwellerrich\MyPackage; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Foundation\AliasLoader; | |
class MyPackageServiceProvider extends ServiceProvider { | |
//... | |
public function register() |