carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

Improve loading speed #241

Open nikgraf opened 8 years ago

nikgraf commented 8 years ago

Not sure how & where, but I hope on a local machine it should be possible to speed it up.

Specifically loading the iFrames faster would be great.

wmertens commented 8 years ago

Note that the iframe has to load a ton of code, while in theory it should only be React, the component and its dependencies.

It is probably possible to lazily create a new webpack entry per component?

mxstbr commented 8 years ago

It is probably possible to lazily create a new webpack entry per component?

Maybe? Haven't even thought about that to be honest, sounds reasonable though…

nikgraf commented 8 years ago

@jantimon what's your take on this?

jantimon commented 8 years ago

We should probably move the iframe component out into a more general one which contains only the essential parts.