re: We reduced our vendor.js from 210kb to 16kb in about five minutes of work and ten lines of code VIEW POST

FULL DISCUSSION
 

Noice! For those interested, here's another PR in the codebase that uses a dynamic import... because perf!

github.com/thepracticaldev/dev.to/...

It's a good use of a dynamic import in this case because we only want to load the on-boarding flow if the user has never seen it.

code of conduct - report abuse