diff --git a/README.md b/README.md index c1497b2..ccf2774 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ connect react components with wire +- [Motivation](#motivation) - [Install](#install) - [Usage](#usage) - [`useWire` hook](#usewire-hook) @@ -30,6 +31,17 @@ connect react components with wire +## Motivation + +- top-level components + - doesn't care about the value + - care about the connection between components +- detailed components + - only care about the value + - doesn't care about where the value came from or will be used +- controlled/uncontrolled components should be easy to write +- choosing the correct state location shouldn't be too hard + ## Install ```bash