flarum / issue-archive

0 stars 0 forks source link

JavaScript module lazy loading #265

Open tobyzerner opened 6 years ago

tobyzerner commented 6 years ago

Our JavaScript payload is quickly becoming quite large, especially when you have a bunch of extensions enabled. This will affect page load times and is something we should address. There are a few things we can do here:

franzliedke commented 6 years ago

This probably depends on the Webpack transition being complete, right?

franzliedke commented 6 years ago

And :+1: :clap: :man_dancing: for finding a way to render a non-interactive skeleton markup on the server.

askvortsov1 commented 3 years ago

The low hanging fruit (and likely first attempt) will be adding editor as a frontend (and within it, importing from flarum/.... instead of ../... to avoid duplicate common component code).

Then, we'll need to create:

We'd need to figure out how this works with initializers. Maybe we could figure out something that works with flarum/issue-archive#169?