Symfony UX Swup is the kind of package we do not want anymore on UX:
- ~20 lines of PHP (an empty
Bundle and some configuration for the AssetMapper)
- and a small glue of JavaScript to the library
This kind of package does not bring any value, unlike UX Turbo, UX Map, etc... and can easily be re-created in the user's application:
- install some dependencies through
npm or importmap:require
- either import swup library in their main entry (or create a stimulus controller)
- and that's all
I suggest we deprecate it in 2.x, and remove it for 3.x.
Symfony UX Swup is the kind of package we do not want anymore on UX:
Bundleand some configuration for the AssetMapper)This kind of package does not bring any value, unlike UX Turbo, UX Map, etc... and can easily be re-created in the user's application:
npmorimportmap:requireI suggest we deprecate it in 2.x, and remove it for 3.x.