The compiler worker should be waiting for initialization to finish before processing new requests, see:
#382. This mainly impacts local environments - the only production issue is a failed lookup for new web IDE Components, though it has no impact on the user.
Rather than having consumers of useCompiler responsible for waiting on initialization, I'm leaning towards having compileComponent wait on pending initialization like it does currently with LightningCSS. E.g. something like
The compiler worker should be waiting for initialization to finish before processing new requests, see: #382. This mainly impacts local environments - the only production issue is a failed lookup for new web IDE Components, though it has no impact on the user.
Rather than having consumers of
useCompiler
responsible for waiting on initialization, I'm leaning towards havingcompileComponent
wait on pending initialization like it does currently with LightningCSS. E.g. something like