Inspired by the ViewComponent framework, I propose that Stimulus Controllers and PhlexUI components share the same folder structure. This approach will create a seamless connection between Ruby components and their corresponding JavaScript logic, enhancing the developer experience and maintaining consistency within the application.
Description
Inspired by the ViewComponent framework, I propose that Stimulus Controllers and PhlexUI components share the same folder structure. This approach will create a seamless connection between Ruby components and their corresponding JavaScript logic, enhancing the developer experience and maintaining consistency within the application.
https://viewcomponent.org/guide/javascript_and_css.html#stimulus
Benefits