Skip to content

Remove loadable-components

Alf Eaton requested to merge remove-async into master

I spent a while today trying to get dynamic imports + code splitting to work, but still couldn't get webpack to produce separate chunks for each route. I also read that it can interfere with hot module reloading, so it's safer to just remove the dynamic imports, so they don't cause problems.

This fixes problems seen with hot reloading CSS, where styles either weren't applied or were lost from the page.

Edited by Alf Eaton

Merge request reports