Limenius / symfony-react-sandbox

Example of integration with React and Webpack (Webpack Encore) for universal (isomorphic) React rendering, using Limenius/ReactBundle and Limenius/LiformBundle
MIT License
337 stars 77 forks source link

Demo is not working #77

Open art-cg opened 3 years ago

art-cg commented 3 years ago

Hi. The Details pages of the demo are not working. I am not sure if you are working on it right know. Because first (3 min ago) i got a blank page and just a console error. Now i get an Symfony Stacktrace.

http://symfony-react.limenius.com/recipe/1

Return value of Limenius\ReactRenderer\Twig\ReactRenderExtension::jsonDecode() must be of the type array, object returned

_in src/Controller/RecipeController.php (line 45) } return $this->render('recipe/recipe.html.twig', [
// A JSON string also works
'props' => $serializer->serialize( ['recipe' => $recipe ], 'json') ]); } /**