From 24122a59ecb932a0bcdc23c6c6831c674a305232 Mon Sep 17 00:00:00 2001 From: Marnus Weststrate Date: Sat, 13 Jun 2015 16:22:25 +0200 Subject: [PATCH] Add yahoo/fluxible#15 note. --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 71e8bc6..047c194 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,20 @@ fluxible-plugin-store-execute-action -========================== +==================================== A temporary solution to get the `executeAction()` method on the Store Context for initiating async query actions. +This plugin will be redundant once a proper solution is implemented for yahoo/fluxible#15. + ``` npm install fluxible-plugin-store-execute-action ``` -# Limitations +## Limitations I'm assuming all executed actions return a `Promise` since that was my use case. If you are using callbacks, submit a PR with the necessary changes to support both and I'll merge it. -# Usage +## Usage Since plugins don't have access to the Fluxible Context internally and cross-context access is needed to call `actionContext.executeAction()` from `storeContext.executeAction()`, the context must be set @@ -114,6 +116,6 @@ SomeStore.handlers = { ``` -# License +## License MIT