diff --git a/osmosis/README.md b/osmosis/README.md index 5c8099a..a8633fa 100644 --- a/osmosis/README.md +++ b/osmosis/README.md @@ -30,9 +30,9 @@ The `setupStore` function takes in an argument that is just a custom hook. The c let store = setupStore(useStateStore); ``` -- store - a ref to the store object returned from the supplied custom hook -- store.Context - a React context variable that gives you access to the state and functions of your store -- store.Provider - a higher-order component used to provide the store to the app +- `store` - a ref to the store object returned from the supplied custom hook +- `store.Context` - a React context variable that gives you access to the state and functions of your store +- `store.Provider` - a higher-order component used to provide the store to the app To connect the state throughout your app you have to import the `StoreProvider` function which is simply a utility for combining several `wrapperFunction`'s into a single higher order component.