tutuca 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tutuca",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "type": "module",
5
5
  "description": "SPA framework with Immer-powered immutable state and virtual DOM",
6
6
  "main": "./dist/tutuca.js",
@@ -808,9 +808,11 @@ return nothing (or return `draft`) to commit. Return any other value to swap
808
808
  the addressed component for that value. Mutating the draft and returning a
809
809
  replacement in the same handler is an error. An unchanged recipe preserves
810
810
  the current identity. Routes,
811
- `ctx.reply` / `ctx.fail` / `ctx.forward` / `ctx.stop`, the three
812
- outcomes, `ctx.at`, the `$unknown` fallback, and intent-handler
811
+ `ctx.reply` / `ctx.fail` / `ctx.forward` / `ctx.stop` / `ctx.sendReply`, the
812
+ three outcomes, `ctx.at`, the `$unknown` fallback, and intent-handler
813
813
  registration are in [messages-and-intents.md](./messages-and-intents.md);
814
+ `ctx.lookupType` (and the routes it shares with `ctx.intent`) is in
815
+ [advanced.md](./advanced.md);
814
816
  worked snippets in
815
817
  [patterns/coordinate-components.md](./patterns/coordinate-components.md).
816
818
 
@@ -223,7 +223,7 @@ the view actually wires these handlers correctly, use
223
223
 
224
224
  ## Designing handlers so tests stay simple
225
225
 
226
- Tutuca templates resolve handler args by name (see
226
+ Tutuca templates resolve each handler arg from its sigil (see
227
227
  [core.md](./core.md) *Event Handling*). When you author a handler,
228
228
  **pick the most specific args you need; don't take broad event
229
229
  reads**. With narrow args, the test passes a literal; with `e.target`