If you have a lot of Stimulus Controllers that import other modules, the size can really start to add up. (I have some Controllers that load Preact (https://preactjs.com)!) Wouldn't it be great if you could load some of your Controllers lazily?
Published — over 1 year ago
Updated — about 15 hours ago
Requires Stimulus 1.1.1
yarn add stimulusyarn add stimulus-controller-resolver