Sharing state in a Symfony hybrid with Twig, React and other JavaScript apps

Front end development has certainly grown up in the last few years. UI logic is increasingly being moved to the client side, but the traditional server-rendered views aren’t going anywhere soon. And they shouldn’t.

The two methods will live along……