Skip to content

Prerender functions - #102

Merged
Lanayx merged 3 commits into
developfrom
prerender
Aug 22, 2026
Merged

Prerender functions#102
Lanayx merged 3 commits into
developfrom
prerender

Conversation

@Lanayx

@Lanayx Lanayx commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Support for fully prerendered components and the ones with a hole in them.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Hole validation can accept a marker rendered into another buffer and produce incorrectly ordered markup.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds prerendering APIs to improve repeated ViewEngine rendering performance.

Changes:

  • Adds prerender and prerenderAround.
  • Adds documentation, tests, and benchmarks.
  • Bumps ViewEngine to 2.1.0.
File summaries
File Description
src/Oxpecker.ViewEngine/Builder.fs Implements prerendering.
src/Oxpecker.ViewEngine/README.md Documents the APIs.
src/Oxpecker.ViewEngine/Oxpecker.ViewEngine.fsproj Updates package metadata.
tests/Oxpecker.ViewEngine.Tests/Render.Tests.fs Tests prerender behavior.
tests/PerfTest/ViewEngineRender.fs Adds benchmarks.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/Oxpecker.ViewEngine/Builder.fs Outdated
@Lanayx
Lanayx marked this pull request as ready for review August 21, 2026 22:42
@Lanayx
Lanayx requested a balanced review from Copilot August 21, 2026 22:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The implementation is coherent, documented, and comprehensively covered by targeted tests with no blocking issues identified.

Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@Lanayx
Lanayx merged commit a6da5ba into develop Aug 22, 2026
4 of 5 checks passed
@Lanayx
Lanayx deleted the prerender branch August 22, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants