Open
Description
- Hotwire native applications send a special user-agent that contains 'Hotwire Native'. We can add a Listener that inject in the request a special parameter isHotwireNative that can be used to control the behavior of the application.
- same as the listener we can add a twig helper to check if isHotwireNative or not to be able to hide or alter the twig.
- every Hotwire Native application can be controlled with a simple path configuration json file, the idea is to add a route that expose this json and probably generate the json from a configuration file. Maybe it can be just a make command that generates this controller boilerplate