From 302a94ada2ecada44bc69198e362958d80cee659 Mon Sep 17 00:00:00 2001 From: Tomas Weiss Date: Mon, 20 Feb 2017 14:20:06 +0100 Subject: [PATCH] docs --- docs/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/README.md b/docs/README.md index 8bf59cb..25bcd54 100644 --- a/docs/README.md +++ b/docs/README.md @@ -62,3 +62,8 @@ const RootComponent = () => ( Ooops, this simply won't work. That's where `prism` comes to play for the rescue. +## Action Wrapping / Unwrapping + +`prism` utilizes a concept called action wrapping in order to achieve isolation of components. So how does it work? + +Imagine action of type `Increment` if you want to constrain the action to particular Component instance you can simply "wrap" it with string identifying the instance, for example: `TopCounter.Increment`. \ No newline at end of file