Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxt): include missing <NuxtPage> component props #9204

Merged
merged 6 commits into from
Nov 21, 2022
Merged

Conversation

DamianGlowala
Copy link
Member

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Adds missing props to the <NuxtPage> component's type cast. Are default undefined/null values of the props serving any purpose? Can they be removed?

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codesandbox
Copy link

codesandbox bot commented Nov 20, 2022

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@vercel vercel bot temporarily deployed to Preview November 21, 2022 11:50 Inactive
@danielroe
Copy link
Member

Are default undefined/null values of the props serving any purpose? Can they be removed?

Yes, they are serving a purpose - we want to distinguish between default (undefined, in which case we want to fall back to app-wide defaults) and deliberately false values.

Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

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

Thank you ❀️

@pi0 pi0 merged commit 4f2bfbe into main Nov 21, 2022
@pi0 pi0 deleted the fix/nuxt-page-props branch November 21, 2022 13:03
daniil4udo pushed a commit to daniil4udo/framework that referenced this pull request Nov 22, 2022
Co-authored-by: Daniel Roe <daniel@roe.dev>
@pi0 pi0 mentioned this pull request Dec 15, 2022
6 tasks
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe mentioned this pull request Jan 20, 2023
danielroe added a commit that referenced this pull request Jan 21, 2023
Co-authored-by: Daniel Roe <daniel@roe.dev>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants