Skip to content

Commit

Permalink
Add rm getEventEmitter & Symbol to CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
goatslacker committed May 27, 2015
1 parent 04d5898 commit e76efdd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,32 @@

### Breaking Changes

* Removed Symbol

**Upgrade Guide**

- Remove all references to Symbol, Symbol.keyFor, etc.
- Get access to the action's unique id via `myAction.id`

* Removed `getEventEmitter()`

**Upgrade Guide**

- You can no longer access the internal event emitter to dispatch your own custom events. This is usually an anti-pattern.
- If you still need this behavior you can create your own event emitter in your store.

```js
class TodoStore {
constructor() {
this.eventEmitter = new EventEmitter()

this.exportPublicMethods({
getEventEmitter: () => this.eventEmitter
});
}
}
```

* Removed `_storeName`.

**Upgrade Guide**
Expand Down
2 changes: 0 additions & 2 deletions src/alt/store/index.js
@@ -1,5 +1,3 @@
import transmitter from 'transmitter'

import * as utils from '../utils/AltUtils'
import * as fn from '../../utils/functions'
import AltStore from './AltStore'
Expand Down

0 comments on commit e76efdd

Please sign in to comment.