Skip to content

docs: clarify app.render view resolution#2440

Open
vibhor-aggr wants to merge 1 commit into
expressjs:mainfrom
vibhor-aggr:docs/clarify-app-render-view-resolution
Open

docs: clarify app.render view resolution#2440
vibhor-aggr wants to merge 1 commit into
expressjs:mainfrom
vibhor-aggr:docs/clarify-app-render-view-resolution

Conversation

@vibhor-aggr

Copy link
Copy Markdown

Summary

Closes #1457.

Clarifies how app.render() resolves the view argument in the 4.x and 5.x Application API docs. The docs now match the existing res.render() wording and explain that a name like email resolves through the app views directory and view engine setting, for example views/email.pug.

Verification

  • npx prettier --check src/content/api/4x/api/application/index.mdx src/content/api/5x/api/application/index.mdx
  • npx cspell --no-progress src/content/api/4x/api/application/index.mdx src/content/api/5x/api/application/index.mdx
  • npm run lint -- src/content/api/4x/api/application/index.mdx src/content/api/5x/api/application/index.mdx (exits 0; MDX files are ignored by current ESLint config)
  • git diff --check
  • npm run build (2307 pages built)

@vibhor-aggr vibhor-aggr requested a review from a team as a code owner July 11, 2026 01:39
@netlify

netlify Bot commented Jul 11, 2026

Copy link
Copy Markdown

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit 6eefc8f
🔍 Latest deploy log https://app.netlify.com/projects/expressjscom-preview/deploys/6a519ec71b2da20007941e23
😎 Deploy Preview https://deploy-preview-2440--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Res.Render documentation missing information.

1 participant