Symfony UX: Stimulus
Pass Server Data Directly to React Props
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

We just built a cool React component! Let's render it with Stimulus! Oh, but there's a catch: we need to be able to pass the current user's name directly from our server into React as a prop. What should the Stimulus controller look like to allow this? controller

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.