improve(docs): use computed key to demonstrate statePlugin namespacing (#4193)

This commit is contained in:
kyle
2018-02-05 15:22:12 -08:00
committed by GitHub
parent d9c60d7d25
commit 7fd229fe72

View File

@@ -4,12 +4,12 @@ A plugin is a function that returns an object - more specifically, the object ma
### Format
A plugin return value may contain any of these keys, where `myStateKey` is a name for a piece of state:
A plugin return value may contain any of these keys, where `stateKey` is a name for a piece of state:
```javascript
{
statePlugins: {
myStateKey: {
[stateKey]: {
actions,
reducers,
selectors,