Archive
javascript
-
React 18 inside a Symfony monolith, and the parts that hurt
Three weeks of putting React 18 components into Twig-rendered pages: createRoot and leaked roots, the two bugs StrictMode found, the one flushSync we needed, and 83 kB of extra JavaScript.
-
Vue 2 in a Symfony app, before and after a build step
Three islands of Vue 2 inside Twig-rendered pages, first from a CDN script tag and then through Webpack Encore. The Twig delimiter collision, the options API contract for v-model, and the totals that disagreed by one centavo.
-
jQuery 3 and the code we kept
The admin is 40,000 lines of jQuery and we moved it to 3.1.1. What the Promises/A+ rewrite of Deferred actually broke, why fractional widths made a page slow, and why we are not rewriting.
-
Push notifications in a back office, with service workers
Six weeks of putting browser push into an internal admin: registration and permissions, why Chrome still needs a GCM sender id, sending from PHP, and the two failures that only production found.