Skip to content
loading...

re: Optional Chaining Has Arrived! VIEW POST

FULL DISCUSSION
 

I read somewhere that it could increase bundle size. How true is that?

 

bundle size of node? Or the project that implements it?

 

It’s not really been in the wild enough to know. My suspicion is it isn’t a problem if you’re using it as a replacement for existence checks would have anyway. If you put it everywhere then yes, because the implementation is more complex than just accessing things.

code of conduct - report abuse