Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkis committed Feb 20, 2017
1 parent 95b8b53 commit 302a94a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit 302a94a

Please sign in to comment.