You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(getting-started): show launch line in samples + pipeline fixes (#331)
* docs(getting-started): show launch line in samples + pipeline fixes
Getting-started samples now include the ReactorApp.Run<T>(...) call so
readers see the full launch shape. Three companion pipeline fixes shake
out from the same work:
- Snippet extractor edits stayed off the table after a false start —
the simpler fix was dropping the `#if DEBUG / preview: true / #endif`
scaffolding from the doc apps and switching to the current
`devtools: true` parameter (the older `preview:` is deprecated). A
bullet in the template notes that real apps should guard `devtools`
under `#if DEBUG`; we skip the conditional in samples for brevity.
- NormalizeLineEndings in CompileCommand (also called by the reference
generator) converts emitted Markdown to Environment.NewLine. Without
it, every compile under Windows/`core.autocrlf=true` flapped all 63
outputs as modified.
- reference-map.yaml gains a `Microsoft.UI.Reactor.Core.RenderContext.Use*`
default so the actually-used hook surface (UseState, UseEffect, etc.)
gets reference pages and `<!-- ref:UseState -->` markers in hooks.md
resolve to working links. Six guide outputs (animation,
architecture-overview, collections, effects, hooks, reconciliation)
re-sync with their templates as a side effect.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(animation,collections): restore content lost from templates
PR #322 (spec 042) wrote the "Transactional animation — Animations.Animate(...)"
section into docs/guide/animation.md and the "Keyed reconciliation, in one
paragraph" / IReactorKeyed / .WithKey(item) subsections into
docs/guide/collections.md, but never added them to the .md.dt templates.
The previous commit re-synced the generated outputs from their templates
and stripped those sections.
Port both back into the templates and regenerate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments