-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Description
The Dynamic Imports feature implemented recently shown some issues with the Getting Started Example using Nextjs v16. These issues include:
- Components rendering twice if no "loading" option provided or client-only loading provided
- Hydration error (client/server mismatch) if "loading" option provided
Using "ssr:false" fixes the issue, but it skips server rendering.
The root cause of the issue should be investigated.
Steps to reproduce
- Clone the repo
- Install dependencies
- Run
npm run dev - Update wp-templates/index.js file with the provided combinations above to test different scenarios
Additional context
No response
@faustwp/core Version
3.3.6
@faustwp/cli Version
3.3.6
FaustWP Plugin Version
https://faustexample.wpengine.com
WordPress Version
https://faustexample.wpengine.com
Additional environment details
.env
# Your WordPress site URL
NEXT_PUBLIC_WORDPRESS_URL=https://faustexample.wpengine.com
Please confirm that you have searched existing issues in the repo.
- Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🆕 Backlog