Advice
JavaScript
Building websites today is hardly possible without JavaScript. Here we share JavaScript tips and insights worth writing down that may come in handy not only for us.
8 notes · latest 11/2026
Notes tagged JavaScript
-
E2E testing Symfony with Panther
Panther runs Symfony tests in a real Chrome. We show what follows from the application running in a different process than the test, how to wait reliably for htmx, React and Vue, and how to run the suite in CI so it does not fail at random. -
Alpine.js in Symfony and working with htmx
Alpine.js on top of HTML from Symfony: structuring code, Twig components, living alongside htmx and morph, modal windows with history and forms, and situations where Alpine complements htmx. -
Forms in Symfony with htmx
Symfony forms without a page reload: fragments from a single template, validation with status 422, error responses, redirects, pagination, filters, live search and updates outside the target. -
Navigation in Symfony with htmx
Navigation without full page reloads in Symfony with htmx 4: boost and morph, prefetch, View Transitions, error pages, the back button with scroll restoration, lazy loading and SEO. -
React
React is a powerful JavaScript library for building interactive user interfaces efficiently, using a component-based approach, a virtual DOM and reactive state management. -
NextJS
A modern framework built on React for creating fast, interactive and technically advanced web applications with a focus on performance, optimization and flexibility. -
Next.js and Revalidating Pre-Generated Pages When Content Changes
How do you regenerate statically pre-generated pages other than periodically? Typically when content changes in an API or CMS? There is the revalidate() function. -
How to deal with unwanted horizontal scrollbars
If you are surprised that your page is wider than the viewport and have no idea why, the following tip may come in handy
Rather not deal with javascript yourself?
Feel free to get in touch, a few sentences about what you are dealing with are enough.