improve(docs): use computed key to demonstrate statePlugin namespacing (#4193)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user