Skip to content

Instantly share code, notes, and snippets.

View graemeworthy's full-sized avatar

Graeme Worthy graemeworthy

View GitHub Profile

Keybase proof

I hereby claim:

  • I am graemeworthy on github.
  • I am graemeworthy (https://keybase.io/graemeworthy) on keybase.
  • I have a public key whose fingerprint is 8223 B7F7 06F4 A78A 9ED5 7646 56C5 3394 F7D5 9476

To claim this, I am signing this object:

@graemeworthy
graemeworthy / posts.js
Last active November 20, 2018 17:10
Circular dependencies in reselect.
import { createSelector } from 'reselect';
import {
getCurrentUser,
} from './user';
export const getPosts = (state) => state.posts;
export const getPostsByCurrentUser = createSelector(
[