# Shopware app in inframe with Symfony and React

**URL:** https://forum.shopware.com/t/shopware-app-in-inframe-with-symfony-and-react/103802
**Category:** Shopware 6 (English)
**Created:** [22. April 2024 um 10:43 UTC](https://forum.shopware.com/t/shopware-app-in-inframe-with-symfony-and-react/103802 "2024-04-22T10:43:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mregula](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mregula](https://forum.shopware.com/u/mregula)
#### Post date: [22. April 2024 um 10:43 UTC](https://forum.shopware.com/t/shopware-app-in-inframe-with-symfony-and-react/103802/1 "2024-04-22T10:43:38Z")

</div>

Hello,

I am building Shopware iframe app.

The stack for my iframe app is Symfony + symfony app bundle. I can successfully install, deactivate, activate, and uninstall the app. The thing is that the front end of my app which is loaded in the iframe I would like to write in React. Everything is configured in my Symfony encore. The Controller loads the twig template and inside twig template we run React app:

```auto
{% extends 'base.html.twig' %}

{% block javascripts %}
    *{{ encore_entry_script_tags('app') }}*
{% endblock %}

{% block stylesheets %}
    {{ encore_entry_link_tags('app') }}
{% endblock %}

{% block body %}
 <div id="root"></div>
{% endblock %}

```

The problem is, that whatever react app wants to load, like, frontend translations or even just images, I get error „Missing shop parameters“.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/c/f/cfe20ff2d005164fa803bf09215aae356d83f404.png)

The whole idea is that React frontend of my iframe app communicates with my symfony backend where all authorization and shopware api requests are performed.

Thank you for any help.
