@toxpal raises a good point about how annoying it is to need to load many different plugin files, whereas in v4 only 1 JS and CSS file were required. Users of a Webkit/Rollup build environment probably appreciate the division into plugins, because their build environment does the bundling for them, and they can save on filesize, but for people who initialize via script tags and browser globals, this can definitely be annoying.
Something that is annoying for users of both techniques is that they need to manually include all required CSS files. This low-tech solution was decided in this issue.
Something else that doesn't make a whole lot of sense is how the plugin files are used from a CDN (see the "CDN" section on the Downloads page). The whole reason people use CDNs is to make their sites load faster, but if they need to load each individual plugin files (both JS and CSS), it sort of defeats the point. They could end up with ~8 requests.
What I'm getting at is... maybe we should offer a build of FullCalendar that includes ALL of the plugins by default. It wouldn't be necessary to feed them into the plugins array. Everything would just work. Of course, this single JS/CSS would be larger.
I'm not exactly sure how this would work with Scheduler's plugins.
@toxpal raises a good point about how annoying it is to need to load many different plugin files, whereas in v4 only 1 JS and CSS file were required. Users of a Webkit/Rollup build environment probably appreciate the division into plugins, because their build environment does the bundling for them, and they can save on filesize, but for people who initialize via script tags and browser globals, this can definitely be annoying.
Something that is annoying for users of both techniques is that they need to manually include all required CSS files. This low-tech solution was decided in this issue.
Something else that doesn't make a whole lot of sense is how the plugin files are used from a CDN (see the "CDN" section on the Downloads page). The whole reason people use CDNs is to make their sites load faster, but if they need to load each individual plugin files (both JS and CSS), it sort of defeats the point. They could end up with ~8 requests.
What I'm getting at is... maybe we should offer a build of FullCalendar that includes ALL of the plugins by default. It wouldn't be necessary to feed them into the
pluginsarray. Everything would just work. Of course, this single JS/CSS would be larger.I'm not exactly sure how this would work with Scheduler's plugins.