From 003d053de79b61f8b72892138c1c157c498439a3 Mon Sep 17 00:00:00 2001 From: Thomas Gossmann Date: Thu, 21 May 2020 18:47:48 +0200 Subject: [PATCH] Add import statement --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e2b4fea..f4bd6ad 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Tracked Redux This library provides an autotracked version of [Redux](https://redux.js.org/). ```js +import { createStore } from 'tracked-redux'; + const store = createStore((state = { todos: [] }, action) => { if (action.type === 'ADD_TODO') { return { todos: [...state.todos, action.todo] };