Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Jul 27, 2019
1 parent 93a3076 commit f5f7ece
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `@evilfactorylabs/global-state`
# `@evilfactory/global-state`

⚛️ Simple State Management from react to react powered by React Hook.

Expand All @@ -7,13 +7,13 @@
- [Yarn](https://yarnpkg.com/en/)

```bash
$ yarn add -E @evilfactorylabs/global-state
$ yarn add -E @evilfactory/global-state
```

- [NPM](https://www.npmjs.com/)

```bash
$ npm i @evilfactorylabs/global-state
$ npm i @evilfactory/global-state
```

<!-- @TODO # Usage -->
Expand Down Expand Up @@ -65,7 +65,7 @@ Example Use of `<StateProvider/>`.
```javascript
import React, {useReducer} from 'react'
import App from './you-app.js'
import {StateProvider} from 'evilfactorylabs/global-state'
import {StateProvider} from 'evilfactory/global-state'

const initialState = { todo: [] }
const reducer = useReducer(state, action)
Expand All @@ -86,7 +86,7 @@ ReactDOM.render(
### Examples

```javascript
import {useGlobalState} from '@evilfactorylabs/global-state'
import {useGlobalState} from '@evilfactory/global-state'

...
const createTodo = (state, action, todo) => {
Expand Down

0 comments on commit f5f7ece

Please sign in to comment.