Closed lpeliberty closed 5 years ago
Hey there @lpeliberty I know this is an old issue but it seems to be closed without any solution. Could you give us some light on how you solved it? I am having the same problem integrating react on a big Symfony/Sonata application. Thanks in advance.
Hello, there's a few days i'm working on this bundle and i definitively dont make it works like i want... My server side rendering is good, but the HTML generated is not recognized like it's said :
and if i choose to render only on client-side, my block is empty (where i should get my react component).
{{ react_component('RecipesAppRedux', {'rendering': 'client_side'}) }}
In a first time, i'm trying to display a button that can be incremented (with react hooks useState) My HTML code generated with client_side only :My HTML code generated with both rendering :
Do i have to do something special to deal with it ?
Ty