BedrockStreaming / DraftjsBundle

⛔️ DEPRECATED
7 stars 2 forks source link

Replace templating by direct usage of twig engine #9

Open GromNaN opened 7 years ago

GromNaN commented 7 years ago

Symfony is slowly dropping the Templating component in favor to the direct usage of Twig Engine. Read this old comment by @fabpot and this blog post that highlight the performance impact.

Instead of injecting the @templating service into the renderers, what about injecting the @twig service?

Expected benefits:

yohannpoli commented 7 years ago

We haven't performance problems at moment but if you want to make a PR for that, i agree with the idea.