I don’t understand what this codesandbox example is trying to do.
Eve Hillis

Hi Eve!

Thanks for your comment, i went in to find that codesandbox changed some configuration to prevent catching errors.

I was able to copy/paste the code into CODEPEN and its working as expected.

check this out: https://codepen.io/blairbear/pen/GQrMPW