From 7fd229fe72452e19d527d6f3e92382fd105b3f21 Mon Sep 17 00:00:00 2001 From: kyle Date: Mon, 5 Feb 2018 15:22:12 -0800 Subject: [PATCH] improve(docs): use computed key to demonstrate statePlugin namespacing (#4193) --- docs/customization/plugin-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/customization/plugin-api.md b/docs/customization/plugin-api.md index f709da36..3d40828b 100644 --- a/docs/customization/plugin-api.md +++ b/docs/customization/plugin-api.md @@ -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,