Closed as not planned
Description
Feature request
I was thinking about how to prevent #1377 from happening again, and I'd like to suggest using Zeitwerk for loading the view_component
code, instead of all these autoload
and require
.
See here for what it would look like: https://github.com/fxn/zeitwerk#synopsis
We took this path in view_component-form
, so you can have a look at the following PR to see what it took: pantographe/view_component-form#107 (keep in mind that the library is much simpler than view_component
).
What do you think?
Motivation
See here for the motivation behind Zeitwerk: https://github.com/fxn/zeitwerk#motivation