Symfony 7: Frontend
Stimulus
composer require symfony/stimulus-bundle
Turbo
- js should be written in stimulus, otherwise problems because page is not reloaded
composer require symfony/ux-turbo
Disable prefetch
- enabled by default in turbo v8
- https://turbo.hotwired.dev/handbook/drive#prefetching-links-on-hover
- in head:
<meta name="turbo-prefetch" content="false">
- to prevent another pv4 disaster, make sure to use POST for any page that perfoms and action;
Symfony UX
- stimulus controllers
- LAST: Symfony UX Packages
- TODO