DEV Community

loading...

Discussion on: Dynamic module import with Stimulus JS

Collapse
adrienpoly profile image
Adrien Poly Author

Yes it will make a second http call. Lots of magic to me on how this actually works...

Cache works in the same way as your main cache

Collapse
leastbad profile image
leastbad

I'm trying to get my head around why this isn't a bigger deal. Again, it would seem to make the masochistic steps React devs take to split code seem ridiculous and moot.

Surely it can't actually be this simple?

Forem Open with the Forem app