Building Frontend in React.js

Hello guys,

We are planning to build our Frontend of PIM in React.js.
Do anyone has any idea on how to integrate the two frameworks, Symfony and React.js?

Thanks & Regards,

I guess you need to be more specific. What do you mean by “integrate”?

You will use Pimcore/Symfony as your backend and React will fetch the JSON data from your FrontendController via XHR.

@akansh Have a look at Webpack Encore (made by Symfony). It’s pretty straight forward and easy to use. Also see this documentation page:

What advantages does Encore provide you except an API for Webpack?

It can be used together with WebpackEncoreBundle, which provides various cool features (like entry chunks, integrity hashes, etc.) for working with static assets.

Ahh, I see. Thank you!