You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Haha I just wanted to add an issue for this. I agree. And why not only allow arrays and objects to be passed in? In what case would you like to handle the serialisation yourself?
Well, nowadays I am using Symfony serializer, but I think that if you were using the JMSSerializer, it was not possible to serialize directly to arrays. Also, it is how React on Rails works (although I don't think users of this bundle need this kind of compatibility with React on Rails).
Right now we have to pass to the Twig tag a JSON serialized string with the props. It would be nice to be able to pass an array too.
The text was updated successfully, but these errors were encountered: