Skip to content

fix(ContentRendererMarkdown): preload components used in content - #1309

Merged
farnabaz merged 1 commit into
mainfrom
fix/preload-components
Jun 29, 2022
Merged

fix(ContentRendererMarkdown): preload components used in content#1309
farnabaz merged 1 commit into
mainfrom
fix/preload-components

Conversation

@farnabaz

@farnabazfarnabaz commented Jun 29, 2022

Copy link
Copy Markdown
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

Preload component used content to prevent lazy loading and creating layout shifting.

However, using the async setup function in ContentRendererMarkdown causes a new issue.
Screenshot 2022-06-29 at 15 48 43

📝 Checklist

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

@netlify

netlifyBot commented Jun 29, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt-content ready!

NameLink
🔨 Latest commit8a4335d
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt-content/deploys/62bc58dcfd250e00086c5f3d
😎 Deploy Previewhttps://deploy-preview-1309--nuxt-content.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@farnabaz
farnabaz merged commit a77bbd9 into mainJun 29, 2022
@farnabaz
farnabaz deleted the fix/preload-components branch June 29, 2022 14:29
@farnabazfarnabaz mentioned this pull request Aug 12, 2022
Sign up for freeto 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

@farnabaz@atinux