feat!: useShapeQuery prend le Scope du SDK, et un store se nomme par sa reference
This commit is contained in:
@@ -561,8 +561,12 @@ async function signIn(ctx: BrowserContext, appUrl: string, id: string): Promise<
|
||||
// ── the acts, expressed as the application expresses them ───────────────────
|
||||
|
||||
/**
|
||||
* Show the notes of `scope` — the list is per-scope, so acting on a note means looking at
|
||||
* the right shelf first.
|
||||
* Choose a shelf, and wait for the list to settle.
|
||||
*
|
||||
* The shelf decides where the NEXT note is written and nothing else: since `1.0.0-dev.5`
|
||||
* a read cannot be scoped by store — the SDK has no way to say it and neither has this
|
||||
* package — so the application lists every note its identity holds, whatever shelf it went
|
||||
* to. Selecting one still re-renders, which is what the wait below is for.
|
||||
*
|
||||
* The wait is not decoration: the application's `change` handler runs `void refresh()`,
|
||||
* un-awaited, so reading `textContent` straight after `selectOption` reads the PREVIOUS
|
||||
|
||||
Reference in New Issue
Block a user