Skip to content

Instantly share code, notes, and snippets.

@jherr
Last active November 19, 2020 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jherr/6d10d2e66847e326ec546a00a1e2697b to your computer and use it in GitHub Desktop.
Save jherr/6d10d2e66847e326ec546a00a1e2697b to your computer and use it in GitHub Desktop.
What I want from a global state manager
  • Manage shared state
  • Allow for subscriptions from React
  • Allow for mutation from React
  • Allow for subscriptions from non-React
  • Allow for mutation from non-React
  • Allow for methods on the global state
  • Allow for derived data on the global state
  • Optimized re-renders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment