Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
February 25, 2021 18:49
October 14, 2020 15:47
February 25, 2021 18:49
February 25, 2021 18:49
February 25, 2021 18:49
October 29, 2019 13:44
February 25, 2021 18:49
February 25, 2021 18:49
February 25, 2021 18:49
February 25, 2021 18:49
February 25, 2021 18:49
February 25, 2021 18:49


Vegetarian friendly state for React


npm MIT License Codecov

Easy Peasy is an abstraction of Redux, providing a reimagined API that focuses on developer experience. It allows you to quickly and easily manage your state, whilst leveraging the strong architectural guarantees and extensive eco-system that Redux has to offer.

  • Zero configuration
  • No boilerplate
  • React hooks based API
  • Extensive TypeScript support
  • Encapsulate data fetching
  • Computed properties
  • Reactive actions
  • Redux middleware support
  • State persistence
  • Redux Dev Tools
  • Global, context, or local stores
  • Built-in testing utils
  • React Native supported
  • Hot reloading supported


All of this comes via a single dependency install.

npm install easy-peasy


Fly like an eagle 🦅

Create your store

const store = createStore({
  todos: ['Create store', 'Wrap application', 'Use store'],

  addTodo: action((state, payload) => {

Wrap your application

function App() {
  return (
    <StoreProvider store={store}>
      <TodoList />

Use the store

function TodoList() {
  const todos = useStoreState((state) => state.todos);
  const addTodo = useStoreActions((actions) => actions.addTodo);
  return (
      {, idx) => (
        <div key={idx}>{todo}</div>
      <AddTodo onAdd={addTodo} />


Examples 📚

See the example folder for more examples of how to use easy-peasy.


Core Team 🛠

Peter Weinberg

Jørn A. Myrland

Sean Matheson


Our Sponsors ❤️

We have only but great appreciation to those who support this project. If you have the ability to help contribute towards the continued maintenance and evolution of this library then please consider [becoming a sponsor].



See the official website for tutorials, docs, recipes, and more.


OS Awards Nominee

Easy Peasy was nominated under the "Productivity Booster" category.