We’re currently making rapid changes to the product so our docs may be out of date. If you need help, please email email@example.com.
Here are a couple of examples of dynamic import usage on Forem:
Forem uses webpacker, so what webpack will do is create separate bundles for code that is dynamically imported. So not only do we end up loading code only when we need it, we also end up with smaller bundle sizes in the frontend.