vtex / faststore

Digital commerce toolkit for frontend developers
https://faststore.dev
MIT License
191 stars 61 forks source link

feat: next/dynamic in `CartSidebar` internal components SFS-1517 #2553

Closed eduardoformiga closed 3 days ago

eduardoformiga commented 1 week ago

What's the purpose of this pull request?

This PR is part of the performance initiative and aims to apply next/dynamic to CartSidebar internal components.

How to test it?

The CartSidebar should render as before. You should see the JS from internal components loading on demand. This PR is also to prepare the components for the time that we will render based on the ViewportObserver/LazyLoadingSection.

Starters Deploy Preview

Preview

References

POC PR

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 3:50pm
codesandbox-ci[bot] commented 1 week ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.