Symfony UX: Stimulus
Async/Dynamic import()
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

We noticed that react-dom is being included in the JavaScript for every page... even though we only use it to render one component on a single page. What's the correct way to import that module dynamically?

Oh... and to be extra cool... we want to use await.

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.