Backend and Infrastructure

ReactJS Talks to Your API in Symfony 3

This page is archived

We're keeping this page up as a courtesy to folks who may need to refer to old instructions. We don't plan to update this page.

Alternate resources

Sprout Video

In this lesson, you'll learn how to integrate ReactJS into the Twig templates of your Symfony 3 app. You will learn how to include page-specific JavaScript assets, include the ReactJS code, direct ReactJS to use the API you've built in your Symfony app, and generate URLs for dynamic JavaScript assets. With this lesson complete, you will have completed building a rich HTML page and an API endpoint to fuel some sweet JavaScript using Symfony 3.

Ready for more Symfony 3? Check out Symfony 3 Fundamentals: Bundles, Configuration and Environments next!

Additional resources